mirror of
https://code.forgejo.org/actions/go-versions
synced 2025-06-10 04:22:23 +02:00
fixed trigger_pr
This commit is contained in:
parent
f473ac37b2
commit
a191e6dfd7
1 changed files with 2 additions and 7 deletions
9
.github/workflows/build-go-packages.yml
vendored
9
.github/workflows/build-go-packages.yml
vendored
|
@ -170,20 +170,15 @@ jobs:
|
||||||
}
|
}
|
||||||
|
|
||||||
trigger_pr:
|
trigger_pr:
|
||||||
name: Trigger Pull Request
|
name: Trigger "Create Pull Request" workflow
|
||||||
needs: publish_release
|
needs: publish_release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
|
|
||||||
- name: Trigger "Create Pull Request" workflow
|
- name: Trigger "Create Pull Request" workflow
|
||||||
uses: actions/github-script@v2
|
uses: actions/github-script@v2
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.PERSONAL_TOKEN }}
|
github-token: ${{ secrets.PERSONAL_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
# TODO: currently 'actions.createWorkflowDispatch' function does not work. I will investigate
|
|
||||||
github.repos.createDispatchEvent({
|
github.repos.createDispatchEvent({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue