Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
XOmniverse committed Mar 11, 2024
1 parent 1f1f66c commit 28b4476
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/update_demo_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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

0 comments on commit 28b4476

Please sign in to comment.