Skip to content

Commit

Permalink
Merge pull request #520 from ergebnis/dependabot/github_actions/actio…
Browse files Browse the repository at this point in the history
…ns/github-script-v3

github-actions(deps): bump actions/github-script from v2.0.1 to v3
  • Loading branch information
ergebnis-bot committed Aug 21, 2020
2 parents 1047466 + 424d9a0 commit 8b7fdd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/integrate.yaml
Expand Up @@ -362,7 +362,7 @@ jobs:
steps:
- name: "Request review from @${{ env.ERGEBNIS_BOT_NAME }}"
uses: "actions/github-script@v2.0.1"
uses: "actions/github-script@v3.0.0"
with:
github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"
script: |
Expand All @@ -373,15 +373,15 @@ jobs:
"${{ env.ERGEBNIS_BOT_NAME }}",
]
await github.pulls.createReviewRequest({
await github.pulls.requestReviewers({
owner: repository.owner,
pull_number: pullRequest.number,
repo: repository.repo,
reviewers: reviewers,
})
- name: "Assign @${{ env.ERGEBNIS_BOT_NAME }}"
uses: "actions/github-script@v2.0.1"
uses: "actions/github-script@v3.0.0"
with:
github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"
script: |
Expand All @@ -400,7 +400,7 @@ jobs:
})
- name: "Approve pull request"
uses: "actions/github-script@v2.0.1"
uses: "actions/github-script@v3.0.0"
if: "github.actor != '${{ env.ERGEBNIS_BOT_NAME }}'"
with:
github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"
Expand All @@ -416,7 +416,7 @@ jobs:
})
- name: "Merge pull request"
uses: "actions/github-script@v2.0.1"
uses: "actions/github-script@v3.0.0"
with:
github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/triage.yaml
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: "Add labels based on branch name"
uses: "actions/github-script@v2.0.1"
uses: "actions/github-script@v3.0.0"
with:
github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"
script: |
Expand Down

0 comments on commit 8b7fdd6

Please sign in to comment.