Skip to content

Commit 4c30e8a

Browse files
authored
Update github cron job (#236)
Signed-off-by: serngawy <[email protected]>
1 parent 33752e6 commit 4c30e8a

File tree

1 file changed

+7
-24
lines changed

1 file changed

+7
-24
lines changed

.github/workflows/crons.yml

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,18 @@ on:
66
- cron: "24 0 * * 3"
77

88
jobs:
9-
call-sync-backplane-2_8:
10-
permissions:
11-
contents: write
12-
pull-requests: write
13-
uses: ./.github/workflows/sync-providers.yaml
14-
with:
15-
dst-branch: "backplane-2.8"
16-
secrets:
17-
personal_access_token: ${{ secrets.GITHUB_TOKEN }}
18-
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
19-
20-
call-sync-backplane-2_9:
21-
permissions:
22-
contents: write
23-
pull-requests: write
24-
uses: ./.github/workflows/sync-providers.yaml
25-
with:
26-
dst-branch: "backplane-2.9"
27-
secrets:
28-
personal_access_token: ${{ secrets.GITHUB_TOKEN }}
29-
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
9+
call-sync-branches:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
dst-branch: [main, release-2.8, release-2.9, release-2.10]
3014

31-
call-sync-main:
3215
permissions:
3316
contents: write
3417
pull-requests: write
3518
uses: ./.github/workflows/sync-providers.yaml
3619
with:
37-
dst-branch: "main"
20+
dst-branch: ${{ matrix.dst-branch }}
3821
secrets:
3922
personal_access_token: ${{ secrets.GITHUB_TOKEN }}
40-
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
23+
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

0 commit comments

Comments
 (0)