Fix workflows
This commit is contained in:
parent
ed2afb26cb
commit
2566c13e77
2 changed files with 2 additions and 5 deletions
5
.github/workflows/docker-image.yml
vendored
5
.github/workflows/docker-image.yml
vendored
|
@ -1,14 +1,11 @@
|
|||
name: Publish Docker image
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
push_to_registry:
|
||||
if: github.event.pull_request.merged == true
|
||||
name: Push Docker image to GitHub Packages
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
2
.github/workflows/pull-request.yml
vendored
2
.github/workflows/pull-request.yml
vendored
|
@ -28,5 +28,5 @@ jobs:
|
|||
run: gh pr merge --auto --rebase "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{github.event.pull_request.html_url}}
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue