Skip to content

Commit 97136e3

Browse files
committed
Prepare for 3.0-branch
1 parent a6f03b5 commit 97136e3

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
workflow_id: 'build-release.yml',
4444
ref: 'release-2.5'
4545
})
46+
4647
- name: 'Run assets build (2.6)'
4748
uses: actions/github-script@v9
4849
with:
@@ -57,3 +58,18 @@ jobs:
5758
workflow_id: 'build-release.yml',
5859
ref: 'release-2.6'
5960
})
61+
62+
- name: 'Run assets build (3.0)'
63+
uses: actions/github-script@v9
64+
with:
65+
# Token has to be generated on a user account that controls the remote repository.
66+
# The _only_ scope to select is "Access public repositories", nothing more.
67+
github-token: "${{ secrets.PAT_TOKEN }}"
68+
debug: true
69+
script: |
70+
await github.rest.actions.createWorkflowDispatch({
71+
owner: 'simplesamlphp',
72+
repo: 'simplesamlphp-assets-base',
73+
workflow_id: 'build-release.yml',
74+
ref: 'release-3.0'
75+
})

.github/workflows/update-dependencies.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
workflow_id: 'update-dependencies.yml',
4444
ref: 'release-2.5'
4545
})
46+
4647
- name: 'Run developer-tools update (2.6)'
4748
uses: actions/github-script@v9
4849
with:
@@ -57,3 +58,18 @@ jobs:
5758
workflow_id: 'update-dependencies.yml',
5859
ref: 'release-2.6'
5960
})
61+
62+
- name: 'Run developer-tools update (3.0)'
63+
uses: actions/github-script@v9
64+
with:
65+
# Token has to be generated on a user account that controls the remote repository.
66+
# The _only_ scope to select is "Access public repositories", nothing more.
67+
github-token: "${{ secrets.PAT_TOKEN }}"
68+
debug: true
69+
script: |
70+
await github.rest.actions.createWorkflowDispatch({
71+
owner: 'simplesamlphp',
72+
repo: 'simplesamlphp-assets-base',
73+
workflow_id: 'update-dependencies.yml',
74+
ref: 'release-3.0'
75+
})

0 commit comments

Comments
 (0)