This commit is contained in:
CanbiZ 2025-03-11 11:19:19 +01:00
commit aef4093716

View File

@ -16,18 +16,19 @@ jobs:
id: generate-token id: generate-token
uses: actions/create-github-app-token@v1 uses: actions/create-github-app-token@v1
with: with:
app-id: ${{ vars.MAIN_APP_ID }} app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.MAIN_APP_PRIVATE_KEY }} private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: main ref: main
token: ${{ steps.generate-token.outputs.token }}
- name: List Issues in Repository - name: List Issues in Repository
id: list_issues id: list_issues
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: | run: |
echo "Filtering Issues with Label MigrationTest" echo "Filtering Issues with Label MigrationTest"
@ -92,6 +93,8 @@ jobs:
git commit -m "$commit_message" git commit -m "$commit_message"
gh auth status
git push upstream "$branch_name" git push upstream "$branch_name"
gh pr create --base main --head "$branch_name" --title "$commit_message" --body "This PR adds the script files for $script_name." -R $target_repo gh pr create --base main --head "$branch_name" --title "$commit_message" --body "This PR adds the script files for $script_name." -R $target_repo