Skip to content

Commit

Permalink
Update unit-tests.yml
Browse files Browse the repository at this point in the history
Added permissions lines 19-20
  • Loading branch information
eprice555 authored May 20, 2024
1 parent f44655c commit ea2e13f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
permissions:
contents: read
id-token: write
# id-token: write

concurrency:
group: >-
Expand All @@ -15,6 +15,9 @@ jobs:
test:
if: ${{ github.repository == 'eprice555/amplify_cicd_test' }}
runs-on: ubuntu-latest

Check failure on line 17 in .github/workflows/unit-tests.yml

View workflow job for this annotation

GitHub Actions / lint-workflows

'ubuntu-latest permissions' is not in the list of allowed values
permissions:

Check failure on line 18 in .github/workflows/unit-tests.yml

View workflow job for this annotation

GitHub Actions / lint-workflows

bad indentation of a mapping entry

Check failure on line 18 in .github/workflows/unit-tests.yml

View workflow job for this annotation

GitHub Actions / lint-workflows

incomplete explicit mapping pair; a key node is missed
contents: read
id-token: write
timeout-minutes: 5
steps:
- name: Check out repo
Expand Down

0 comments on commit ea2e13f

Please sign in to comment.