diff --git a/.github/workflows/update_demo_data.yml b/.github/workflows/update_demo_data.yml index 1b2850e2..005f9954 100644 --- a/.github/workflows/update_demo_data.yml +++ b/.github/workflows/update_demo_data.yml @@ -24,6 +24,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + ref: task/update-cco-demo-data - name: Set up local Git config run: | @@ -41,19 +43,4 @@ jobs: - name: Run the update script run: ruby ./update_demo_data.rb - - name: Create Pull Request - id: cpr - uses: peter-evans/create-pull-request@v4 - with: - commit-message: "Update CCO Demo Data" - title: "Update CCO Demo Data" - body: "Updated CCO Demo from GitHub Actions Workflow [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})" - branch: "task/update-cco-demo-data" - delete-branch: true - labels: "automation, data" - - - name: Check outputs - if: ${{ steps.cpr.outputs.pull-request-number }} - run: | - echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" - echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" + - uses: stefanzweifel/git-auto-commit-action@v4