mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-17 15:54:20 -05:00
Use env vars in GHA dependabot changelog (#14772)
This commit is contained in:
parent
e787fb776c
commit
747f8eb231
5
.github/workflows/dependabot_changelog.yml
vendored
5
.github/workflows/dependabot_changelog.yml
vendored
@ -20,8 +20,11 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
- name: Write, commit and push changelog
|
||||
env:
|
||||
PR_TITLE: ${{ github.event.pull_request.title }}
|
||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||
run: |
|
||||
echo "${{ github.event.pull_request.title }}." > "changelog.d/${{ github.event.pull_request.number }}".misc
|
||||
echo "${PR_TITLE}." > "changelog.d/${PR_NUMBER}".misc
|
||||
git add changelog.d
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config user.name "GitHub Actions"
|
||||
|
1
changelog.d/14772.misc
Normal file
1
changelog.d/14772.misc
Normal file
@ -0,0 +1 @@
|
||||
Change GHA CI job to follow best practices.
|
Loading…
Reference in New Issue
Block a user