Create charts PR on tags creation #22
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: | |
workflow_dispatch: | |
workflow_run: | |
workflows: [ "Build and push images on tags" ] | |
types: | |
- completed | |
jobs: | |
create_pr: | |
name: Create charts PR on tags creation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set GH_REF | |
run: echo "GH_REF=`echo $(git fetch -t -q && git describe --tags)`" >> $GITHUB_ENV | |
- run: bash ./docker/create-pr.sh | |
env: | |
GH_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }} | |
IS_TAG: "true" | |
ENVS: "staging,production" |