pipeline-test-subsequent-wo.../.gitea/workflows/commit.yml
Oliver Lippert 14066e2bf6
Some checks failed
on push / build (push) Has been cancelled
add dummy git info
2024-02-01 23:56:32 +01:00

24 lines
568 B
YAML

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