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"
|
default: "false"
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
FORGEJO_TOKEN:
|
#
|
||||||
|
# Secrets
|
||||||
|
#
|
||||||
|
PERSONAL_ACCESS_TOKEN:
|
||||||
description: A personal access token that allows this workflow to pull the playbook repository.
|
description: A personal access token that allows this workflow to pull the playbook repository.
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
@ -57,14 +60,14 @@ runs:
|
||||||
ref: refs/heads/main
|
ref: refs/heads/main
|
||||||
repository: "${{ inputs.playbook_repository }}"
|
repository: "${{ inputs.playbook_repository }}"
|
||||||
path: /workspace/${{ gitea.repository }}
|
path: /workspace/${{ gitea.repository }}
|
||||||
token: ${{ inputs.FORGEJO_TOKEN }}
|
token: ${{ inputs.PERSONAL_ACCESS_TOKEN }}
|
||||||
|
|
||||||
# Clone Role
|
# Clone Role
|
||||||
- name: Checkout this Ansible Role
|
- name: Checkout this Ansible Role
|
||||||
uses: https://git.michaelsasser.org/actions/checkout@v4
|
uses: https://git.michaelsasser.org/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: "/workspace/${{ gitea.repository }}/plays/roles/michaelsasser.${{ steps.get-role-info.outputs.role_name }}"
|
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
|
# Setup SSH
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
|
|
Loading…
Add table
Reference in a new issue