Skip to content

Actually publish PR #45

Actually publish PR

Actually publish PR #45

name: 'Actually publish PR'
on:
workflow_run:
workflows: [Publish PRs]
types:
- completed
issue_comment:
types:
- edited
pull_request_target:
types:
- opened
permissions:
packages: write
actions: write
contents: write
issues: write
checks: write
pull-requests: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Generate an Application repository access token
id: gen_repo_token
uses: kattecon/gh-app-access-token-gen@v1
with:
app_id: 750463
private_key: ${{ secrets.PR_PUBLISHING_APP_KEY }}
repository: forgeforce/gradle-actions-test
- name: Upload
uses: ForgeForce/action-pr-publishing@mainff
env:
GITHUB_TOKEN: ${{ steps.gen_repo_token.outputs.token }}
with:
uploader-workflow-name: 'Publish PRs'
artifacts-base-path: ''