mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
actions/get-merge-commit: remove push branch
This action will not be called for push events anymore. For those, the `push.yml` workflow is run instead, which hardcodes `mergedSha`.
This commit is contained in:
2
.github/actions/get-merge-commit/action.yml
vendored
2
.github/actions/get-merge-commit/action.yml
vendored
@@ -35,8 +35,6 @@ runs:
|
||||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||
with:
|
||||
script: |
|
||||
if (context.eventName == 'push') return core.setOutput('mergedSha', context.sha)
|
||||
|
||||
for (const retryInterval of [5, 10, 20, 40, 80]) {
|
||||
console.log("Checking whether the pull request can be merged...")
|
||||
const prInfo = (await github.rest.pulls.get({
|
||||
|
||||
Reference in New Issue
Block a user