Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/trigger-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,5 @@ jobs:
- find-tags-to-release
permissions:
contents: write
secrets:
LABELS_TOKEN: "${{ secrets.LABELS_TOKEN }}"
2 changes: 2 additions & 0 deletions .github/workflows/trigger-tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
uses: ./.github/workflows/update-tags.yaml
permissions:
contents: write
secrets:
LABELS_TOKEN: "${{ secrets.LABELS_TOKEN }}"

release:
uses: ./.github/workflows/make-release.yaml
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/update-tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Update Tags

on:
workflow_call:
secrets:
LABELS_TOKEN:
required: true
description: 'Need special privileges token'
workflow_dispatch:

jobs:
Expand All @@ -11,12 +15,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: "main"
token: ${{ secrets.LABELS_TOKEN }}

- name: Configure Git
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor}}@users.noreply.github.com"

- name: Get namespaces
id: namespaces
run: |
Expand Down