style: rename github to gitea for gitea actions
All checks were successful
Check / check (push) Successful in 52s

This commit is contained in:
2025-05-16 17:27:53 -04:00
parent 1d6b419a15
commit 632774d051
6 changed files with 68 additions and 29 deletions

View File

@ -12,8 +12,8 @@ jobs:
name: check
runs-on: ubuntu-latest
if: |
contains(github.event.head_commit.message, 'bump:') == false &&
contains(github.event.head_commit.message, 'Merge pull request') == false
contains(gitea.event.head_commit.message, 'bump:') == false &&
contains(gitea.event.head_commit.message, 'Merge pull request') == false
steps:
- name: Checkout
uses: actions/checkout@v4

View File

@ -47,12 +47,12 @@ jobs:
- name: Build
run: >
nix build
.#trevstack-linux-amd64
.#trevstack-linux-arm64
.#trevstack-linux-arm
.#trevstack-windows-amd64
.#trevstack-darwin-amd64
.#trevstack-darwin-arm64
#trevstack-linux-amd64
#trevstack-linux-arm64
#trevstack-linux-arm
#trevstack-windows-amd64
#trevstack-darwin-amd64
#trevstack-darwin-arm64
- name: Release
uses: akkuman/gitea-release-action@v1
@ -71,7 +71,7 @@ jobs:
with:
# list of Docker images to use as base name for tags
images: |
${{ vars.URL }}/${{ github.repository }}
${{ gitea.server_url }}/${{ gitea.repository }}
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=branch
@ -80,8 +80,8 @@ jobs:
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ vars.URL }}
username: ${{ github.actor }}
registry: ${{ gitea.server_url }}
username: ${{ gitea.actor }}
password: ${{ secrets.PAT }}
- name: Set up QEMU

View File

@ -37,9 +37,9 @@ jobs:
- name: Create Pull Request
env:
URL: ${{ vars.URL }}
PAT: ${{ secrets.PAT }}
run: |
URL="${{ gitea.server_url }}"
REPO_OWNER_SLASH_NAME="${{ gitea.repository }}"
if ! git ls-remote --exit-code origin update; then