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: Install just run: | curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash - name: Test & Build run: | /root/bin/just vet test /root/bin/just build-linux-amd64 ./bin/gitbump_linux_amd64 --version build: runs-on: [ubuntu-latest, amd64] needs: test 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: [ubuntu-latest, amd64] needs: [test, build] if: always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped')) steps: - name: ntfy-failed-notifications uses: niniyas/ntfy-action@master with: url: ${{ secrets.NTFY_URL }} topic: ${{ secrets.NTFY_TOPIC }} priority: 5 tags: flying_saucer,warning,🚨,🛠️,action,failed details: Workflow has failed! actions: 'default'