Compare commits

..

No commits in common. "main" and "1" have entirely different histories.
main ... 1

4 changed files with 20 additions and 25 deletions

View file

@ -1,20 +0,0 @@
name: on push
on:
push:
branches:
- main
jobs:
build:
runs-on: docker
steps:
- name: Checkout
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
token: ${{ secrets.MAINTAINER_TOKEN }}
- name: Push Git Tag
run: |
git tag ${{ github.run_number }}
git push origin ${{ github.run_number }}

View file

@ -0,0 +1,15 @@
name: on push
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Ref
shell: bash
run: echo ${{ github.ref }}

View file

@ -3,14 +3,14 @@ name: on tags
on:
push:
tags:
- '*'
jobs:
build:
runs-on: docker
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Ref
shell: bash

View file

@ -1,4 +1,4 @@
# Forgejo action test: Subsequent workflows
# Gitea action test: Subsequent workflows
Is it possible to have subsequent workflow in Forgejo? Whenever I create a commit, gitea actions should tag it.
Is it possible to have subsequent workflow in Gitea? Whenever I create a commit, gitea actions should tag it.
On every tag gitea actions should be executed.