Skip to content

Commit 2f6bcff

Browse files
committed
Create new 2.2-branch
1 parent f9f4faf commit 2f6bcff

3 files changed

Lines changed: 51 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ updates:
2525
all-actions:
2626
patterns: ["*"]
2727

28+
- package-ecosystem: "github-actions" # See documentation for possible values
29+
target-branch: release-2.2
30+
directory: "/" # Location of package manifests
31+
schedule:
32+
interval: "weekly"
33+
groups:
34+
all-actions:
35+
patterns: ["*"]
36+
2837
- package-ecosystem: "github-actions" # See documentation for possible values
2938
directory: "/" # Location of package manifests
3039
schedule:
@@ -56,3 +65,15 @@ updates:
5665
update-types:
5766
- "minor"
5867
- "patch"
68+
69+
- package-ecosystem: "composer" # See documentation for possible values
70+
target-branch: release-2.2
71+
directory: "/" # Location of package manifests
72+
schedule:
73+
interval: "daily"
74+
groups:
75+
dev-dependencies:
76+
dependency-type: "development"
77+
update-types:
78+
- "minor"
79+
- "patch"

.github/workflows/build-release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,18 @@ jobs:
4343
workflow_id: 'build-release.yml',
4444
ref: 'release-2.1'
4545
})
46+
47+
- name: 'Run assets build (2.2)'
48+
uses: actions/github-script@v7
49+
with:
50+
# Token has to be generated on a user account that controls the remote repository.
51+
# The _only_ scope to select is "Access public repositories", nothing more.
52+
github-token: "${{ secrets.PAT_TOKEN }}"
53+
debug: true
54+
script: |
55+
await github.rest.actions.createWorkflowDispatch({
56+
owner: 'simplesamlphp',
57+
repo: 'simplesamlphp-assets-base',
58+
workflow_id: 'build-release.yml',
59+
ref: 'release-2.2'
60+
})

.github/workflows/update-dependencies.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,18 @@ jobs:
4343
workflow_id: 'update-dependencies.yml',
4444
ref: 'release-2.1'
4545
})
46+
47+
- name: 'Run developer-tools update (2.2)'
48+
uses: actions/github-script@v7
49+
with:
50+
# Token has to be generated on a user account that controls the remote repository.
51+
# The _only_ scope to select is "Access public repositories", nothing more.
52+
github-token: "${{ secrets.PAT_TOKEN }}"
53+
debug: true
54+
script: |
55+
await github.rest.actions.createWorkflowDispatch({
56+
owner: 'simplesamlphp',
57+
repo: 'simplesamlphp-assets-base',
58+
workflow_id: 'update-dependencies.yml',
59+
ref: 'release-2.2'
60+
})

0 commit comments

Comments
 (0)