Add merge_group and pull_request triggers to pipeline #399
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: CI | |
on: | |
merge_group: | |
pull_request: | |
push: | |
branches: | |
- "**" | |
tags-ignore: | |
- "**" | |
workflow_dispatch: | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yml | |
tag: | |
runs-on: ubuntu-latest | |
needs: build | |
permissions: write-all | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-tags: true | |
fetch-depth: 0 | |
- name: Download vertag | |
uses: robinraju/[email protected] | |
with: | |
repository: gofrontier-com/vertag | |
latest: true | |
fileName: vertag_Linux_x86_64.tar.gz | |
token: ${{ secrets.GITHUB_TOKEN }} | |
extract: true | |
- name: Run vertag | |
env: | |
BUILD_BOT_PAT: ${{ secrets.BUILD_BOT_PAT }} | |
run: | | |
./vertag \ | |
--author-name "Build bot" \ | |
--author-email "[email protected]" \ | |
--modules-dir "modules" \ | |
--remote-url "https://${BUILD_BOT_PAT}:[email protected]/gofrontier-com/azurerm-terraform-modules" |