name: on push on: push: branches: - main jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: token: ${{ secrets.MAINTAINER_TOKEN }} - name: Push Git Tag run: | git config --global user.email "you@example.com" git config --global user.name "Your Name" git commit -m "empty commit" --allow-empty git tag ${{ github.run_number }} git push origin --all