Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit b121ae6

Browse files
authored
Merge pull request #584 from cprivitere/github-token
✨ Use GITHUB_TOKEN to avoid rate limits
2 parents 32ebd45 + 4282132 commit b121ae6

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ env:
1515
DOCKER_REGISTRY: ${{ secrets.DOCKER_ORG }}
1616
QUAY_REGISTRY: quay.io/${{ secrets.QUAY_ORG }}
1717
REGISTRY: quay.io/${{ secrets.QUAY_ORG }}
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1819

1920
jobs:
2021
validate:
@@ -97,7 +98,6 @@ jobs:
9798
flavor: |
9899
latest=false
99100
tags: |
100-
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
101101
type=semver,pattern={{version}}
102102
type=edge
103103
type=ref,event=branch

.github/workflows/pr.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
types: [opened, synchronize, reopened]
55
workflow_dispatch:
66

7+
env:
8+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9+
10+
711
jobs:
812
validate:
913
name: "Validate ${{ matrix.target }}"

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ env:
99
GHCR_REGISTRY: ghcr.io/${{ github.repository_owner }}
1010
DOCKER_REGISTRY: ${{ secrets.DOCKER_ORG }}
1111
QUAY_REGISTRY: quay.io/${{ secrets.QUAY_ORG }}
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1213

1314
jobs:
1415

0 commit comments

Comments
 (0)