mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
Sync Action Modified (#3437)
This commit is contained in:
parent
801f75f406
commit
2374161030
12
.github/workflows/create-sync-pr.yml
vendored
12
.github/workflows/create-sync-pr.yml
vendored
@ -1,25 +1,23 @@
|
|||||||
name: Create Sync Action
|
name: Create Sync Action
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
branches:
|
branches:
|
||||||
- preview
|
- preview
|
||||||
types:
|
|
||||||
- closed
|
|
||||||
env:
|
env:
|
||||||
SOURCE_BRANCH_NAME: ${{github.event.pull_request.base.ref}}
|
SOURCE_BRANCH_NAME: ${{ github.ref_name }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync_changes:
|
sync_changes:
|
||||||
# Only run the job when a PR is merged
|
|
||||||
if: github.event.pull_request.merged == true
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user