Use GH_PAT_TOKEN in goreleaser
`GITHUB_TOKEN` does not trigger events for other github actions to use
This commit is contained in:
parent
60b9d391a2
commit
d9cc81dbc5
4 changed files with 5 additions and 24 deletions
19
.github/workflows/flakehub-publish-rolling.yml
vendored
19
.github/workflows/flakehub-publish-rolling.yml
vendored
|
|
@ -1,19 +0,0 @@
|
|||
name: "Publish every Git push to master to FlakeHub"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
jobs:
|
||||
flakehub-publish:
|
||||
runs-on: "ubuntu-latest"
|
||||
permissions:
|
||||
id-token: "write"
|
||||
contents: "read"
|
||||
steps:
|
||||
- uses: "actions/checkout@v3"
|
||||
- uses: "DeterminateSystems/nix-installer-action@main"
|
||||
- uses: "DeterminateSystems/flakehub-push@main"
|
||||
with:
|
||||
name: "acaloiaro/di-tui"
|
||||
rolling: true
|
||||
visibility: "public"
|
||||
4
.github/workflows/goreleaser.yml
vendored
4
.github/workflows/goreleaser.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
- name: Bump version and push tag
|
||||
uses: anothrNick/github-tag-action@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GH_PAT_TOKEN }}
|
||||
WITH_V: true
|
||||
DEFAULT_BUMP: patch
|
||||
- name: Set up Go
|
||||
|
|
@ -29,4 +29,4 @@ jobs:
|
|||
version: latest
|
||||
args: release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GH_PAT_TOKEN }}
|
||||
|
|
|
|||
4
.github/workflows/post-release.yml
vendored
4
.github/workflows/post-release.yml
vendored
|
|
@ -13,8 +13,8 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.GH_PAT_TOKEN }} # Needs write access to the repo
|
||||
ref: main
|
||||
- name: Update defaultnix
|
||||
ref: master
|
||||
- name: Update default.nix
|
||||
uses: MathieuSoysal/file-updater-for-release@v1.0.3
|
||||
with:
|
||||
files: default.nix # List of files to update
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
buildGoApplication {
|
||||
pname = "di-tui";
|
||||
version = "1.3.28";
|
||||
version = "v1.3.8";
|
||||
pwd = ./.;
|
||||
src = ./.;
|
||||
modules = ./gomod2nix.toml;
|
||||
|
|
|
|||
Loading…
Reference in a new issue