Skip to content

Commit

Permalink
Clean up workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jaruserickson committed Jan 18, 2024
1 parent 8d06d18 commit 5d9458b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,21 @@ jobs:
git switch -c javascript
git push origin javascript
- name: Sync upstream changes
- name: Pull upstream changes
run: |
git remote add upstream https://github.com/shopify/shopify-app-template-remix.git
git fetch upstream
git reset --hard upstream/javascript
- name: Clean any workflows
run: |
shopt -s extglob
cd .github/workflows
rm -- !(js-to-docs.yml|sync-upstream.yml)
git add .
git commit -m "[Actions] Revert any workflow changes due to lack of permissions."
- name: Push changes
run: |
git push origin javascript --force
gh pr create --repo Shopify/example-app--payments-app-template--remix --head javascript --title 'Sync javascript with upstream' --body 'This is an automated PR that syncs the repo with its source upstream.' &>/dev/null || true

0 comments on commit 5d9458b

Please sign in to comment.