Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

Sync Action Modified (#3437)

Manish Gupta237416103056
diff --git a/.github/workflows/create-sync-pr.yml b/.github/workflows/create-sync-pr.yml
index add08d1eda..47a85f3ba8 100644
--- a/.github/workflows/create-sync-pr.yml
+++ b/.github/workflows/create-sync-pr.yml
@@ -1,25 +1,23 @@
name: Create Sync Action
on:
- pull_request:
+ workflow_dispatch:
+ push:
branches:
- preview
- types:
- - closed
+
env:
- SOURCE_BRANCH_NAME: ${{github.event.pull_request.base.ref}}
+ SOURCE_BRANCH_NAME: ${{ github.ref_name }}
jobs:
sync_changes:
- # Only run the job when a PR is merged
- if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
steps:
- name: Checkout Code
- uses: actions/checkout@v2
+ uses: actions/[email protected]
with:
persist-credentials: false
fetch-depth: 0