mirror of
https://github.com/RetroDECK/components-template.git
synced 2024-11-22 03:15:37 +00:00
PR: fixing repo clone
This commit is contained in:
parent
733f9d386e
commit
88844d9b9f
23
.github/workflows/pr_from_upstream.yml
vendored
23
.github/workflows/pr_from_upstream.yml
vendored
|
@ -19,13 +19,22 @@ jobs:
|
||||||
git checkout "${{ github.ref_name }}"
|
git checkout "${{ github.ref_name }}"
|
||||||
git branch --set-upstream-to=upstream/${{ github.ref_name }} ${{ github.ref_name }}
|
git branch --set-upstream-to=upstream/${{ github.ref_name }} ${{ github.ref_name }}
|
||||||
|
|
||||||
# - name: Generate a token for Rekku
|
- name: Debug Private Key
|
||||||
# id: generate-rekku-token
|
run: |
|
||||||
# uses: actions/create-github-app-token@v1
|
echo "Testing access to REKKU_PRIVATE_KEY"
|
||||||
# with:
|
if [ -z "${{ secrets.REKKU_PRIVATE_KEY }}" ]; then
|
||||||
# app-id: ${{ vars.REKKU_APP_ID }}
|
echo "Error: secret REKKU_PRIVATE_KEY not available."
|
||||||
# private-key: ${{ secrets.REKKU_PRIVATE_KEY }}
|
exit 1
|
||||||
# owner: "RetroDECK"
|
fi
|
||||||
|
echo "Secret REKKU_PRIVATE_KEY available."
|
||||||
|
|
||||||
|
- name: Generate a token for Rekku
|
||||||
|
id: generate-rekku-token
|
||||||
|
uses: actions/create-github-app-token@v1
|
||||||
|
with:
|
||||||
|
app-id: ${{ vars.REKKU_APP_ID }}
|
||||||
|
private-key: ${{ secrets.REKKU_PRIVATE_KEY }}
|
||||||
|
owner: "RetroDECK"
|
||||||
|
|
||||||
- name: Configuring Git
|
- name: Configuring Git
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue