Skip to content

Commit

Permalink
Added permission for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
moomindani committed Nov 8, 2023
1 parent ef23e61 commit 8d5d15c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ jobs:

unit:
name: unit test / python ${{ matrix.python-version }}
permissions:
pull-requests: write

runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down Expand Up @@ -110,7 +112,7 @@ jobs:
repo="${GITHUB_REPOSITORY#${GITHUB_REPOSITORY_OWNER}/}"
echo "name=${repo}-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}" >> "${GITHUB_OUTPUT}"
- name: Configure AWS Credentials using GitHub variables
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-session-name: ${{ steps.session.outputs.name }}
Expand Down

0 comments on commit 8d5d15c

Please sign in to comment.