Skip to content

Commit

Permalink
Merge pull request #18857 from newrelic/liz/fix-whats-new
Browse files Browse the repository at this point in the history
fix: Create PR instead of committing to develop
  • Loading branch information
LizBaker authored Oct 4, 2024
2 parents 1c17949 + d8b9586 commit 0699706
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/update-whats-new-ids.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,16 @@ jobs:
git diff-index --quiet HEAD ./src/data/whats-new-ids.json || git commit -m 'chore(whats-new-ids): updated ids'
echo "commit=true" >> $GITHUB_OUTPUT
# Push directly to the `develop` branch so we get the changes included in the release PR
- name: Push Commit
- name: Create Pull Request
id: create-pr
if: steps.commit-changes.outputs.commit == 'true'
uses: ad-m/github-push-action@v0.8.0
uses: peter-evans/create-pull-request@v5
with:
github_token: ${{ secrets.DOCS_ENG_BOT_TOKEN }}
branch: develop
token: ${{ secrets.DOCS_ENG_BOT_TOKEN }}
title: Updated whats new ids
body: ''
branch: whats-new-id
branch-suffix: short-commit-hash
base: develop
delete-branch: true
team-reviewers: DOCS

0 comments on commit 0699706

Please sign in to comment.