-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed the `environment: master` (because I think it has not been set up) and added the owner value to the token generation.
- Loading branch information
Showing
3 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ on: | |
jobs: | ||
set-auto-merge: | ||
runs-on: ubuntu-latest | ||
environment: master | ||
timeout-minutes: 10 | ||
# Important! This forces the job to run only on comments on Pull Requests that starts with '/merge' | ||
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/merge') }} | ||
|
@@ -18,10 +17,11 @@ jobs: | |
id: fellows | ||
- name: Generate a token | ||
id: merge_token | ||
uses: actions/create-github-app-token@v1.8.1 | ||
uses: actions/create-github-app-token@v1 | ||
with: | ||
app-id: ${{ secrets.MERGE_APP_ID }} | ||
private-key: ${{ secrets.MERGE_APP_KEY }} | ||
owner: ${{ github.repository_owner }} | ||
- name: Set auto merge | ||
uses: paritytech/[email protected] | ||
with: | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,10 +21,11 @@ jobs: | |
artifact-name: pr_number | ||
- name: Generate token | ||
id: team_token | ||
uses: actions/create-github-app-token@v1.9.3 | ||
uses: actions/create-github-app-token@v1 | ||
with: | ||
app-id: ${{ secrets.REVIEW_APP_ID }} | ||
private-key: ${{ secrets.REVIEW_APP_KEY }} | ||
owner: ${{ github.repository_owner }} | ||
- name: "Evaluates PR reviews and assigns reviewers" | ||
uses: paritytech/[email protected] | ||
with: | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,14 +9,14 @@ jobs: | |
updatePullRequests: | ||
name: Keep PRs up to date | ||
runs-on: ubuntu-latest | ||
environment: master | ||
steps: | ||
- name: Generate token | ||
id: generate_token | ||
uses: actions/create-github-app-token@v1 | ||
with: | ||
app-id: ${{ secrets.MERGE_APP_ID }} | ||
private-key: ${{ secrets.MERGE_APP_KEY }} | ||
owner: ${{ github.repository_owner }} | ||
- name: Update all the PRs | ||
uses: paritytech/[email protected] | ||
with: | ||
|