name: Gitbump CI on: push: branches: [ master ] workflow_dispatch: jobs: test: runs-on: [ubuntu-latest, amd64] steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go uses: actions/setup-go@v5 with: go-version: '1.26' - name: Test & Build run: | just vet test just build-linux-amd64 /bin/gitbump_linux_amd64 --version build: runs-on: [ubuntu-latest, amd64] needs: test-build if: github.ref == 'refs/heads/master' permissions: contents: write steps: - uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: true - name: Set up Go uses: actions/setup-go@v5 with: go-version: '1.26' - name: Bump & Tag run: go run main.go notify-failure: runs-on: go-executor needs: [test, build] if: always() && contains(needs.*.result, 'failure') steps: - name: ntfy-failed-notifications uses: niniyas/ntfy-action@master with: url: 'https://ntfy.zlymeda.dynu.net' topic: ${{ secrets.NTFY_TOPIC || 'errors' }} priority: 5 tags: flying_saucer,warning,🚨,🛠️,action,failed details: Workflow has failed! actions: 'default'