Skip to content

Commit

Permalink
test...
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Jun 5, 2024
1 parent 9c4c2ae commit a8d7de2
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/update-downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
GIT_EMAIL: ${{ github.actor }}@users.noreply.github.com
GIT_BRANCH: detsys-ts-update-${{ github.sha }}
GIT_BASE: main
GIT_HEAD: ${{ github.actor }}:detsys-ts-update-${{ github.sha }}
GIT_HEAD: detsys-pr-bot:detsys-ts-update-${{ github.sha }}
TARGET_REPO: ${{ github.repository_owner }}/${{ matrix.repo }}
SOURCE_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.detsys_pr_bot_token }} # for `gh pr create`
Expand Down Expand Up @@ -55,6 +55,7 @@ jobs:
- name: Commit changes to package.json, pnpm-lock.yaml, and dist/
run: |
gh repo fork
git checkout -b ${{ env.GIT_BRANCH }}
git add .
Expand All @@ -70,11 +71,12 @@ jobs:
exit 1
fi
- name: Create pull request against ${{ env.TARGET_REPO }}
run: |
gh pr create \
--base ${{ env.GIT_BASE }} \
--head ${{ env.GIT_HEAD }} \
--repo ${{ env.TARGET_REPO }} \
--title "Update detsys-ts dependency and dist directory (trigged by ${{ env.SOURCE_REPO }})" \
--body "Bump detsys-ts to [${{ env.REF }}](${{ env.REF_URL }}) and regenerate application bundle."
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.detsys_pr_bot_token }}
title: "Update detsys-ts dependency and dist directory (trigged by ${{ env.SOURCE_REPO }})"
body: Bump detsys-ts to [${{ env.REF }}](${{ env.REF_URL }}) and regenerate application bundle.
branch: "${{ env.GIT_BRANCH }}"
base: ${{ env.GIT_BASE }}
draft: false

0 comments on commit a8d7de2

Please sign in to comment.