Skip to content

Commit

Permalink
♻️ci: add permission to lambda ci (#562)
Browse files Browse the repository at this point in the history
* ♻️ci: add permission to lambda ci

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
Marukome0743 and autofix-ci[bot] authored Oct 7, 2024
1 parent a4fa0d7 commit fd3aed5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: gh issue edit ${{ github.event.issue.number }} --add-assignee $ASSIGNEE --repo ${{ github.repository }}

- name: Assign Pull Request
if: github.event_name == 'pull_request' && toJSON(github.event.pull_request.assignees) == '[]'
if: github.event_name == 'pull_request_target' && toJSON(github.event.pull_request.assignees) == '[]'
env:
ASSIGNEE: ${{ steps.assignee.outputs.ASSIGNEE }}
run: gh pr edit ${{ github.event.pull_request.number }} --add-assignee $ASSIGNEE --repo ${{ github.repository }}
4 changes: 4 additions & 0 deletions .github/workflows/lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
- "*config.*"
workflow_dispatch:

permissions:
contents: read
id-token: write

env:
AWS_REGION: ap-northeast-1
ECR_REPOSITORY: rasnage
Expand Down

0 comments on commit fd3aed5

Please sign in to comment.