Merge pull request #1437 from alphagov/fix-create-pr-on-tags #2
Workflow file for this run
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
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-latest | |
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" |