.github: re-add access token (#553)
Co-authored-by: Yannik Sander <me@ysndr.de>
This commit is contained in:
parent
ba0b05b998
commit
e3ade32b1a
9
.github/actions/common-setup/action.yml
vendored
9
.github/actions/common-setup/action.yml
vendored
|
@ -1,5 +1,8 @@
|
||||||
name: Setup Environment
|
name: Setup Environment
|
||||||
inputs:
|
inputs:
|
||||||
|
GITHUB_TOKEN:
|
||||||
|
required: true
|
||||||
|
description: 'GitHub access token used to prevent GitHub's rate limit for unauthenticated requests'
|
||||||
CACHIX_SIGNING_KEY: # determines what node version to install
|
CACHIX_SIGNING_KEY: # determines what node version to install
|
||||||
required: true
|
required: true
|
||||||
description: 'Cachix Signing Key'
|
description: 'Cachix Signing Key'
|
||||||
|
@ -8,11 +11,13 @@ runs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Installing Nix
|
- name: Installing Nix
|
||||||
uses: cachix/install-nix-action@v16
|
uses: cachix/install-nix-action@v18
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixpkgs-unstable
|
nix_path: nixpkgs=channel:nixpkgs-unstable
|
||||||
|
extra_nix_config: |
|
||||||
|
access-tokens = github.com=${{ inputs.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: cachix/cachix-action@v10
|
- uses: cachix/cachix-action@v12
|
||||||
with:
|
with:
|
||||||
name: nixos-search
|
name: nixos-search
|
||||||
signingKey: '${{ inputs.CACHIX_SIGNING_KEY }}'
|
signingKey: '${{ inputs.CACHIX_SIGNING_KEY }}'
|
||||||
|
|
1
.github/workflows/build-flake-info.yml
vendored
1
.github/workflows/build-flake-info.yml
vendored
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- name: Setup
|
- name: Setup
|
||||||
uses: ./.github/actions/common-setup
|
uses: ./.github/actions/common-setup
|
||||||
with:
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||||
|
|
||||||
|
|
||||||
|
|
1
.github/workflows/check-flake-files.yml
vendored
1
.github/workflows/check-flake-files.yml
vendored
|
@ -24,6 +24,7 @@ jobs:
|
||||||
- name: Setup
|
- name: Setup
|
||||||
uses: ./.github/actions/common-setup
|
uses: ./.github/actions/common-setup
|
||||||
with:
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||||
|
|
||||||
- name: Try importing all custom flakes
|
- name: Try importing all custom flakes
|
||||||
|
|
1
.github/workflows/frontend.yml
vendored
1
.github/workflows/frontend.yml
vendored
|
@ -21,6 +21,7 @@ jobs:
|
||||||
- name: Setup
|
- name: Setup
|
||||||
uses: ./.github/actions/common-setup
|
uses: ./.github/actions/common-setup
|
||||||
with:
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- name: Setup
|
- name: Setup
|
||||||
uses: ./.github/actions/common-setup
|
uses: ./.github/actions/common-setup
|
||||||
with:
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||||
|
|
||||||
- name: NixOS Channels
|
- name: NixOS Channels
|
||||||
|
@ -50,6 +51,7 @@ jobs:
|
||||||
- name: Setup
|
- name: Setup
|
||||||
uses: ./.github/actions/common-setup
|
uses: ./.github/actions/common-setup
|
||||||
with:
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||||
|
|
||||||
- name: Import ${{ matrix.channel }} channel
|
- name: Import ${{ matrix.channel }} channel
|
||||||
|
@ -89,6 +91,7 @@ jobs:
|
||||||
- name: Setup
|
- name: Setup
|
||||||
uses: ./.github/actions/common-setup
|
uses: ./.github/actions/common-setup
|
||||||
with:
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||||
|
|
||||||
- name: Import ${{ matrix.group }} group
|
- name: Import ${{ matrix.group }} group
|
||||||
|
|
Loading…
Reference in a new issue