Added access token to make a pull request via the gihub CLI.

This commit is contained in:
Llewellyn van der Merwe 2021-07-13 21:45:16 +02:00
parent cb9f103d2c
commit a311dfc39f
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C
3 changed files with 9 additions and 3 deletions

View File

@ -24,6 +24,8 @@ jobs:
GIT_USER: ${{ secrets.GIT_USER }}
# The github user email with access
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
# The github personal access token
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
# The name of the myprivatekeys.asc user
GPG_USER: ${{ secrets.GPG_USER }}
# gpg -a --export-secret-keys >myprivatekeys.asc
@ -36,7 +38,7 @@ jobs:
# A id_ed25519.pub ssh public key liked to the github user account
SSH_PUB: ${{ secrets.SSH_PUB }}
run: |
/bin/bash <(/bin/curl -s https://raw.githubusercontent.com/vdm-io/github-user/master/src/setup.sh) --gpg-key "$GPG_KEY" --gpg-user "$GPG_USER" --ssh-key "$SSH_KEY" --ssh-pub "$SSH_PUB" --git-user "$GIT_USER" --git-email "$GIT_EMAIL"
/bin/bash <(/bin/curl -s https://raw.githubusercontent.com/vdm-io/github-user/master/src/setup.sh) --gpg-key "$GPG_KEY" --gpg-user "$GPG_USER" --ssh-key "$SSH_KEY" --ssh-pub "$SSH_PUB" --git-user "$GIT_USER" --git-email "$GIT_EMAIL" --git-token "$GIT_TOKEN"
- name: Clone Sync Bot Repo
# this is the repo that does the work
run: |

View File

@ -24,6 +24,8 @@ jobs:
GIT_USER: ${{ secrets.GIT_USER }}
# The github user email with access
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
# The github personal access token
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
# The name of the myprivatekeys.asc user
GPG_USER: ${{ secrets.GPG_USER }}
# gpg -a --export-secret-keys >myprivatekeys.asc
@ -36,7 +38,7 @@ jobs:
# A id_ed25519.pub ssh public key liked to the github user account
SSH_PUB: ${{ secrets.SSH_PUB }}
run: |
/bin/bash <(/bin/curl -s https://raw.githubusercontent.com/vdm-io/github-user/master/src/setup.sh) --gpg-key "$GPG_KEY" --gpg-user "$GPG_USER" --ssh-key "$SSH_KEY" --ssh-pub "$SSH_PUB" --git-user "$GIT_USER" --git-email "$GIT_EMAIL"
/bin/bash <(/bin/curl -s https://raw.githubusercontent.com/vdm-io/github-user/master/src/setup.sh) --gpg-key "$GPG_KEY" --gpg-user "$GPG_USER" --ssh-key "$SSH_KEY" --ssh-pub "$SSH_PUB" --git-user "$GIT_USER" --git-email "$GIT_EMAIL" --git-token "$GIT_TOKEN"
- name: Clone Sync Bot Repo
# this is the repo that does the work
run: |

View File

@ -19,6 +19,8 @@ jobs:
GIT_USER: ${{ secrets.GIT_USER }}
# The github user email with access
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
# The github personal access token
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
# The name of the myprivatekeys.asc user
GPG_USER: ${{ secrets.GPG_USER }}
# gpg -a --export-secret-keys >myprivatekeys.asc
@ -31,7 +33,7 @@ jobs:
# A id_ed25519.pub ssh public key liked to the github user account
SSH_PUB: ${{ secrets.SSH_PUB }}
run: |
/bin/bash <(/bin/curl -s https://raw.githubusercontent.com/vdm-io/github-user/master/src/setup.sh) --gpg-key "$GPG_KEY" --gpg-user "$GPG_USER" --ssh-key "$SSH_KEY" --ssh-pub "$SSH_PUB" --git-user "$GIT_USER" --git-email "$GIT_EMAIL"
/bin/bash <(/bin/curl -s https://raw.githubusercontent.com/vdm-io/github-user/master/src/setup.sh) --gpg-key "$GPG_KEY" --gpg-user "$GPG_USER" --ssh-key "$SSH_KEY" --ssh-pub "$SSH_PUB" --git-user "$GIT_USER" --git-email "$GIT_EMAIL" --git-token "$GIT_TOKEN"
- name: Clone Sync Bot Repo
# this is the repo that does the work
run: |