log in using GOOGLE_*_CREDENTIALS if present for CloudSQL import #22
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Auto-assign PRs from forks | |
| on: | |
| pull_request_target: | |
| types: [opened, reopened, edited] | |
| jobs: | |
| assign: | |
| runs-on: self-hosted-docker-tiny | |
| if: github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| steps: | |
| - name: Add labels to PRs from forks | |
| uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | |
| with: | |
| script: | | |
| const pr = context.payload.pull_request; | |
| await github.rest.issues.addAssignees({ | |
| issue_number: pr.number, | |
| owner: pr.base.repo.owner.login, | |
| repo: pr.base.repo.name, | |
| assignees: ['isegall-da', 'martinflorian-da', 'ray-roestenburg-da'], | |
| }); |