From 8524ab58f512bb021a0b99a741369f6ef02d17c7 Mon Sep 17 00:00:00 2001 From: "Dr. Vortex" Date: Wed, 29 May 2024 09:55:04 -0500 Subject: [PATCH] Updated workflow permissions Update .editorconfig for yaml --- .editorconfig | 4 ++++ .github/workflows/ci.yaml | 6 ++---- .github/workflows/release.yaml | 5 +---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.editorconfig b/.editorconfig index 104428f83..2e952eab1 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,3 +9,7 @@ charset = utf-8 [*.{js,ts}] indent_style = tab indent_size = 4 + +[*.yaml] +indent_style = space +indent_size = 4 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1e11e9bbe..bc42ba8d0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,12 +23,10 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 + uses: actions/setup-node@v4 - name: Install dependencies run: npm install diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d97c21bca..c10bcaa55 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,16 +1,13 @@ name: Release - on: release: types: [created] - jobs: ci: uses: ./.github/workflows/ci.yaml permissions: - contents: write + contents: read id-token: write - pages: write release: runs-on: ubuntu-latest needs: ci