Skip to content

Commit

Permalink
Sync Action Modified (makeplane#3437)
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub authored Jan 23, 2024
1 parent 801f75f commit 2374161
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/create-sync-pr.yml
Original file line number Diff line number Diff line change
@@ -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/checkout@v4.1.1
with:
persist-credentials: false
fetch-depth: 0
Expand Down

0 comments on commit 2374161

Please sign in to comment.