Skip to content

Conversation

robertbrignull
Copy link
Contributor

Demo branch for allowing code scanning to run on pull_request events, running on the correct commit, and reporting the correct data.

@marcogario, @Daverlo

Merge / deployment checklist

  • Run test builds as necessary. Can be on this repository or elsewhere as needed in order to test the change - please include links to tests in other repos!
    • CodeQL using init/analyze actions
    • 3rd party tool using upload action
  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.

@@ -16,9 +16,8 @@ jobs:
shell: bash
run: |
mkdir ../action
shopt -s dotglob
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change was necessary because the action now relies on being run in a valid git repository, as it accesses the name of the currently checked out commit. Therefore we don't want to move the .git directory.

Copy link
Contributor

@marcogario marcogario left a comment

Choose a reason for hiding this comment

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

I did some more testing on the server side and this seems to work as advertised! ✨

@marcogario
Copy link
Contributor

👍 to merge this

@robertbrignull robertbrignull merged commit 4997c3f into master Jun 1, 2020
@robertbrignull robertbrignull deleted the allow_pull_requests branch June 1, 2020 08:39
This was referenced Jun 1, 2020
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