# A github action to track the status of the gitlab pipeline for tagged # releases, and cancel the release/create a new issue if it fails name: Monitor gitlab pipeline status on: push: tags: - v* - ci-release-* jobs: monitor: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Monitor pipeline run: env; ./.maintain/github/check_gitlab_pipeline.sh id: monitor_pipeline env: TAGGER: ${{ github.event.pusher.name }} - name: Create Issue if: failure() uses: JasonEtco/create-an-issue@v2 with: filename: .github/ISSUE_TEMPLATE/release.md assignees: ${{ github.event.pusher.name }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}