Skip to content

Commit

Permalink
fix: add required permission to all interface workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina committed Jul 26, 2024
1 parent 095f6c4 commit ce257f1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/interface-ci-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
deploy-app:
needs: [ui-test]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/interface-ci-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
ref: ${{ steps.ref.outputs.refspec }}
fetch-depth: 0

# - name: Install UI dependencies
# working-directory: ./interface
# run: yarn --frozen-lockfile && yarn build
- name: Install UI dependencies
working-directory: ./interface
run: yarn --frozen-lockfile && yarn build

# - name: Run tests
# working-directory: ./interface
# run: yarn test
- name: Run tests
working-directory: ./interface
run: yarn test

outputs:
version_tag: ${{ steps.ref.outputs.version_tag }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/interface-ci-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
deploy-app:
needs: [ui-test]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit ce257f1

Please sign in to comment.