-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Weekly promotion of staging to mainline
Perform an ff-only merge of `amd-staging` into an `amd-mainline` staging branch and open a pull request.
- Loading branch information
1 parent
ba0efac
commit 420c40e
Showing
5 changed files
with
34 additions
and
0 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
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 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,26 @@ | ||
name: Sync Mainline with Staging | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: 0 5 * * sun | ||
|
||
jobs: | ||
promote-stg-to-main: | ||
runs-on: ubuntu-latest | ||
name: Promote Staging to Mainline | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: amd-mainline | ||
fetch-depth: '0' | ||
|
||
- name: Merge - Fast Forward Only | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
git checkout amd-mainline | ||
git checkout -b promote-staging-$(date +%F) | ||
git merge --ff-only origin/amd-staging | ||
git push -u origin HEAD | ||
gh pr create --base amd-mainline --title "Promote \`amd-staging\` to \`amd-mainline\`" --fill --label "automerge" |