Skip to content

Commit

Permalink
Updated workflow permissions
Browse files Browse the repository at this point in the history
Update .editorconfig for yaml
  • Loading branch information
james-pre committed May 29, 2024
1 parent 1bfe487 commit 8524ab5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ charset = utf-8
[*.{js,ts}]
indent_style = tab
indent_size = 4

[*.yaml]
indent_style = space
indent_size = 4
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 8524ab5

Please sign in to comment.