diff --git a/.github/workflows/reusable_bump.yml b/.github/workflows/reusable_bump.yml index 35bfb49..04adad0 100644 --- a/.github/workflows/reusable_bump.yml +++ b/.github/workflows/reusable_bump.yml @@ -74,9 +74,11 @@ jobs: git checkout -b bump/$NEXT_SEMVER - name: GenerateChangeLog + env: + REPO_NAME: ${{ github.event.repository.name }} run: | PREV_TAG=$(git describe --tags --abbrev=0) - NOTES=$(python .dot-github/.github/scripts/generate_release_notes.py "$NEXT_SEMVER" --since "$PREV_TAG" --repo "${{ github.event.repository.name }}") + NOTES=$(python .dot-github/.github/scripts/generate_release_notes.py "$NEXT_SEMVER" --since "$PREV_TAG" --repo "$REPO_NAME") # Prepend new release notes to the original changelog echo "$NOTES" > NEW_LOG.md diff --git a/.github/workflows/reusable_record_pr_details.yml b/.github/workflows/reusable_record_pr_details.yml index 9dc7b29..435a4e5 100644 --- a/.github/workflows/reusable_record_pr_details.yml +++ b/.github/workflows/reusable_record_pr_details.yml @@ -15,10 +15,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Create PR info artifact + env: + PR_NUMBER: ${{ github.event.pull_request.number }} + PR_ACTION: ${{ github.event.action }} run: | mkdir -p ./pr-info - echo "${{ github.event.pull_request.number }}" > ./pr-info/pr-number.txt - echo "${{ github.event.action }}" > ./pr-info/pr-action.txt + echo "$PR_NUMBER" > ./pr-info/pr-number.txt + echo "$PR_ACTION" > ./pr-info/pr-action.txt - name: Upload PR info artifact uses: actions/upload-artifact@v4