feat!: replace FORGEJO_TOKEN with PERSONAL_ACCESS TOKEN
This commit is contained in:
parent
34bd5d35c3
commit
896d1528ae
1 changed files with 6 additions and 3 deletions
|
@ -22,7 +22,10 @@ inputs:
|
|||
default: "false"
|
||||
required: false
|
||||
|
||||
FORGEJO_TOKEN:
|
||||
#
|
||||
# Secrets
|
||||
#
|
||||
PERSONAL_ACCESS_TOKEN:
|
||||
description: A personal access token that allows this workflow to pull the playbook repository.
|
||||
required: true
|
||||
|
||||
|
@ -57,14 +60,14 @@ runs:
|
|||
ref: refs/heads/main
|
||||
repository: "${{ inputs.playbook_repository }}"
|
||||
path: /workspace/${{ gitea.repository }}
|
||||
token: ${{ inputs.FORGEJO_TOKEN }}
|
||||
token: ${{ inputs.PERSONAL_ACCESS_TOKEN }}
|
||||
|
||||
# Clone Role
|
||||
- name: Checkout this Ansible Role
|
||||
uses: https://git.michaelsasser.org/actions/checkout@v4
|
||||
with:
|
||||
path: "/workspace/${{ gitea.repository }}/plays/roles/michaelsasser.${{ steps.get-role-info.outputs.role_name }}"
|
||||
token: ${{ inputs.FORGEJO_TOKEN }}
|
||||
token: ${{ inputs.PERSONAL_ACCESS_TOKEN }}
|
||||
|
||||
# Setup SSH
|
||||
- name: Setup SSH
|
||||
|
|
Loading…
Add table
Reference in a new issue