From bafdb90dc02b5f881d1ef4121bc119baa76c5c3b Mon Sep 17 00:00:00 2001 From: Oliver Lippert Date: Fri, 9 Feb 2024 19:09:16 +0100 Subject: [PATCH 1/3] runs on docker --- .gitea/workflows/commit.yml | 2 +- .gitea/workflows/tag.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/commit.yml b/.gitea/workflows/commit.yml index b0d3445..ba75cca 100644 --- a/.gitea/workflows/commit.yml +++ b/.gitea/workflows/commit.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: docker steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 diff --git a/.gitea/workflows/tag.yml b/.gitea/workflows/tag.yml index c313899..d74e1be 100644 --- a/.gitea/workflows/tag.yml +++ b/.gitea/workflows/tag.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: docker steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 From 7309e148a0a19daa0a797810fda4d0c84658b7f0 Mon Sep 17 00:00:00 2001 From: Oliver Lippert Date: Fri, 9 Feb 2024 19:09:44 +0100 Subject: [PATCH 2/3] add hostname to uses --- .gitea/workflows/commit.yml | 2 +- .gitea/workflows/tag.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/commit.yml b/.gitea/workflows/commit.yml index ba75cca..248fb17 100644 --- a/.gitea/workflows/commit.yml +++ b/.gitea/workflows/commit.yml @@ -10,7 +10,7 @@ jobs: runs-on: docker steps: - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: token: ${{ secrets.MAINTAINER_TOKEN }} diff --git a/.gitea/workflows/tag.yml b/.gitea/workflows/tag.yml index d74e1be..3ed0870 100644 --- a/.gitea/workflows/tag.yml +++ b/.gitea/workflows/tag.yml @@ -10,7 +10,7 @@ jobs: runs-on: docker steps: - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Ref shell: bash From af6309d249077cac662754627c0a97ca8cc7829b Mon Sep 17 00:00:00 2001 From: Oliver Lippert Date: Fri, 9 Feb 2024 19:09:57 +0100 Subject: [PATCH 3/3] rename to Forgejo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c5f32d..3a2d940 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Gitea action test: Subsequent workflows +# Forgejo action test: Subsequent workflows -Is it possible to have subsequent workflow in Gitea? Whenever I create a commit, gitea actions should tag it. +Is it possible to have subsequent workflow in Forgejo? Whenever I create a commit, gitea actions should tag it. On every tag gitea actions should be executed.