-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create PRs on tag creation for Staging and Prod
- Loading branch information
1 parent
095ecbd
commit a480ae1
Showing
3 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Create charts PR on tags creation | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
|
||
jobs: | ||
create_pr: | ||
name: Create charts PR | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout ckanext-datagovuk repository | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: alphagov/ckanext-datagovuk | ||
path: ckanext | ||
- run: bash ./ckanext/docker/create-pr.sh | ||
env: | ||
GH_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }} | ||
GH_REF: ${{ github.ref_name }} | ||
ENVS: ( "staging" "production" ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ jobs: | |
env: | ||
GH_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }} | ||
GH_REF: ${{ github.ref_name }} | ||
ENVS: "integration" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters