forked from polkadot-cloud/polkadot-staking-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
A0-3232: Added automatic upstream merge job
- Loading branch information
Showing
5 changed files
with
94 additions
and
32 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
name: Automatic upstream merge | ||
|
||
on: | ||
# run on 1th and 15th day of any month, ie fortnightly | ||
schedule: | ||
- cron: '1 0 1,15 * *' | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
main: | ||
name: Merge paritytech/polkadot-staking-dashboard | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Merge upstream repo | ||
uses: Cardinal-Cryptography/github-actions/test-upstream-merge@v3 | ||
with: | ||
target-repo: Cardinal-Cryptography/aleph-zero-dashboard | ||
target-branch: master | ||
upstream-repo-url: https://github.com/paritytech/polkadot-staking-dashboard | ||
upstream-branch: main | ||
slack-webhook-url: ${{ secrets.SLACK_INCOMING_WEBHOOK_DEV_ONDUTY }} | ||
git-commit-author: ${{ secrets.AUTOCOMMIT_AUTHOR }} | ||
git-commit-email: ${{ secrets.AUTOCOMMIT_EMAIL }} | ||
gh-ci-token: ${{ secrets.CI_GH_TOKEN }} |
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
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
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
This file was deleted.
Oops, something went wrong.