Skip to content

Commit

Permalink
Merge pull request #257 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 to v3
  • Loading branch information
localheinz committed Aug 29, 2020
2 parents 4e2fc15 + ec82d05 commit ebeccd0
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
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ jobs:
steps:
- name: "Request review from @ergebnis-bot"
uses: "actions/github-script@v2"
uses: "actions/github-script@v3.0.0"
with:
github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"
script: |
Expand All @@ -418,15 +418,15 @@ jobs:
"ergebnis-bot",
]
await github.pulls.createReviewRequest({
await github.pulls.requestReviewers({
owner: repository.owner,
pull_number: pullRequest.number,
repo: repository.repo,
reviewers: reviewers,
})
- name: "Assign @ergebnis-bot"
uses: "actions/github-script@v2"
uses: "actions/github-script@v3.0.0"
with:
github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"
script: |
Expand All @@ -445,7 +445,7 @@ jobs:
})
- name: "Approve pull request"
uses: "actions/github-script@v2"
uses: "actions/github-script@v3.0.0"
if: "github.actor != 'ergebnis-bot'"
with:
github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"
Expand All @@ -461,7 +461,7 @@ jobs:
})
- name: "Merge pull request"
uses: "actions/github-script@v2"
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
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

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

0 comments on commit ebeccd0

Please sign in to comment.