-
I am working on an action that turns Xcode compile warnings and errors into annotations. This Action works well when I use it in a workflow that is triggered by a push to the main branch. But when it is triggered by a What do I miss here? Are PRs special wrt annotations and/or check runs? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Here is the pull request: github.com/devbotsxyz/example-ios-helloUpdate AppDelegate.swift
And this is a regular commit to main: GitHubdevbotsxyz/example-ios-helloExample iOS Hello. Contribute to devbotsxyz/example-ios-hello development by creating an account on GitHub. The first has no annotations and no sign of the check. The latter works as I would expect. |
Beta Was this translation helpful? Give feedback.
-
In the docs about the Checks API, I noticed the following description:
When the workflow runs on pull request, the commit SHA (github.sha) is the last merge commit on the PR merge branch (refs/pull/:prNumber/merge). It is not a commit that has been pushed into the repository. |
Beta Was this translation helpful? Give feedback.
-
I’ll close this thread because I think in the end I was simply testing the wrong thing. My mistake. |
Beta Was this translation helpful? Give feedback.
I’ll close this thread because I think in the end I was simply testing the wrong thing. My mistake.