We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88b7200 commit 87de0ecCopy full SHA for 87de0ec
.github/workflows/mirror.yaml
@@ -4,15 +4,22 @@ on:
4
schedule:
5
# Once a month on the 28th day at 4 pm UTC, which is ~11 am EST.
6
- cron: "00 16 28 * *"
7
+ workflow_dispatch:
8
9
jobs:
10
mirror-develop-to-westpa2:
11
runs-on: ubuntu-latest
12
name: Mirror develop branch to westpa2 branch
13
steps:
14
+ - uses: actions/create-github-app-token@v1
15
+ id: app-token
16
+ with:
17
+ app-id: ${{ vars.BRANCH_MIRROR_APPID }}
18
+ private-key: ${{ secrets.BRANCH_MIRROR_SECRET }}
19
- uses: actions/checkout@v4
20
with:
21
fetch-depth: 0
22
+ token: ${{ steps.app-token.outputs.token }}
23
- name: mirroring step
24
run: |
25
git checkout westpa2
0 commit comments