Publish PRs to GitHub Packages #815
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly | |
# The template can be found at https://github.com/neoforged/GradleUtils/blob/a65628b0c89dec60b357ce3f8f6bfa62934b8357/src/actionsTemplate/resources/.github/workflows/publish-prs.yml | |
name: Publish PRs to GitHub Packages | |
on: | |
workflow_run: | |
workflows: [Build and test PRs] | |
types: | |
- completed | |
issue_comment: | |
types: | |
- edited | |
pull_request_target: | |
types: | |
- opened | |
permissions: | |
packages: write | |
jobs: | |
publish-prs: | |
if: true | |
uses: neoforged/actions/.github/workflows/publish-prs.yml@main | |
with: | |
artifact_base_path: net/neoforged/fancymodloader/ | |
secrets: | |
PR_PUBLISHING_GH_APP_ID: ${{ secrets.PR_PUBLISHING_GH_APP_ID }} | |
PR_PUBLISHING_GH_APP_KEY: ${{ secrets.PR_PUBLISHING_GH_APP_KEY }} |