Skip to content

Commit

Permalink
Create new 2.2-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Apr 9, 2024
1 parent f9f4faf commit 2f6bcff
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ updates:
all-actions:
patterns: ["*"]

- package-ecosystem: "github-actions" # See documentation for possible values
target-branch: release-2.2
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
groups:
all-actions:
patterns: ["*"]

- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
Expand Down Expand Up @@ -56,3 +65,15 @@ updates:
update-types:
- "minor"
- "patch"

- package-ecosystem: "composer" # See documentation for possible values
target-branch: release-2.2
directory: "/" # Location of package manifests
schedule:
interval: "daily"
groups:
dev-dependencies:
dependency-type: "development"
update-types:
- "minor"
- "patch"
15 changes: 15 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,18 @@ jobs:
workflow_id: 'build-release.yml',
ref: 'release-2.1'
})
- name: 'Run assets build (2.2)'
uses: actions/github-script@v7
with:
# Token has to be generated on a user account that controls the remote repository.
# The _only_ scope to select is "Access public repositories", nothing more.
github-token: "${{ secrets.PAT_TOKEN }}"
debug: true
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'simplesamlphp',
repo: 'simplesamlphp-assets-base',
workflow_id: 'build-release.yml',
ref: 'release-2.2'
})
15 changes: 15 additions & 0 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,18 @@ jobs:
workflow_id: 'update-dependencies.yml',
ref: 'release-2.1'
})
- name: 'Run developer-tools update (2.2)'
uses: actions/github-script@v7
with:
# Token has to be generated on a user account that controls the remote repository.
# The _only_ scope to select is "Access public repositories", nothing more.
github-token: "${{ secrets.PAT_TOKEN }}"
debug: true
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'simplesamlphp',
repo: 'simplesamlphp-assets-base',
workflow_id: 'update-dependencies.yml',
ref: 'release-2.2'
})

0 comments on commit 2f6bcff

Please sign in to comment.