Skip to content

ci: fix changelog checking pr - #7772

Merged
jedevc merged 1 commit into
dagger:mainfrom
jedevc:fix-changelog-action
Jul 1, 2024
Merged

jedevc merged 1 commit into
dagger:mainfrom
jedevc:fix-changelog-action

Conversation

@jedevc

@jedevc jedevc commented Jun 27, 2024

Copy link
Copy Markdown
Contributor

Fix #7750.

See run in https://github.com/dagger/dagger/actions/runs/9697150564/job/26760624393?pr=7744.

This wasn't caught in my example runs, since I was running a PR inside a single fork.

The issues fixed here:

  • Added permissions to this workflow to mirror other workflows - we need to be able to write to the pull request to be able to add a comment
  • Modified GITHUB_HEAD_REF to GITHUB_REF to get the current state of the PR as resolved by the merge.

Signed-off-by: Justin Chadwell <[email protected]>
@jedevc
jedevc requested review from TomChv and gerhard June 27, 2024 13:13

@gerhard gerhard left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 🚀

@jedevc
jedevc merged commit 3767c8f into dagger:main Jul 1, 2024
@jedevc
jedevc deleted the fix-changelog-action branch July 1, 2024 10:23
@sipsma

sipsma commented Jul 1, 2024

Copy link
Copy Markdown
Contributor

@jedevc This doesn't appear to have worked as expected: #7767 (comment)

I poked around for what the right git ref format to use in this case is but couldn't find it after a bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants