Skip to content

Commit

Permalink
ci(github-actions): use custom PAT for force pushes and andd env for …
Browse files Browse the repository at this point in the history
…goreleaser
  • Loading branch information
bl4ko committed Feb 21, 2025
1 parent 5dcaea5 commit 43e3209
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:

jobs:
linkChecker:
permissions:
issues: write # required for peter-evans/create-issue-from-file
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
Expand All @@ -16,7 +18,6 @@ jobs:
id: lychee
uses: lycheeverse/lychee-action@f613c4a64e50d792e0b31ec34bbcbba12263c6a6 # v2.3.0
with:
token: ${{ secrets.GH_TOKEN }}
fail: false

- name: Create Issue From File
Expand All @@ -26,4 +27,3 @@ jobs:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue
token: ${{ secrets.GH_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/gorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- v\d+\.\d+\.\d+
workflow_dispatch:

jobs:
goreleaser:
Expand All @@ -25,3 +26,5 @@ jobs:
distribution: goreleaser
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 1 addition & 3 deletions .github/workflows/replace_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ on:
jobs:
replace_version:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.SVC_PAT }}
ref: main

- name: Replace image version in k8s manifests
Expand Down

0 comments on commit 43e3209

Please sign in to comment.