Merge pull request #279 from commercetools/dependabot/npm_and_yarn/pr… #113
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: Tag Latest | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
tag-latest: | |
name: Tag latest version | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ github.token }} | |
defaults: | |
run: | |
working-directory: enabler | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup git config | |
run: git config user.name "GitHub cd-deploy-dev Bot" && git config user.email "<>" | |
- name: Notify argo to trigger dev | |
run: git tag -f -- "latest" && git push -f origin "latest" | |
- name: Trigger publish workflow | |
run: gh workflow run cko-preview.yml --ref latest | |