Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GitHub Actions #113

Closed
bahmutov opened this issue Oct 8, 2019 · 4 comments · Fixed by #117
Closed

Add support for GitHub Actions #113

bahmutov opened this issue Oct 8, 2019 · 4 comments · Fixed by #117
Assignees
Labels
enhancement New feature or request released

Comments

@bahmutov
Copy link
Owner

bahmutov commented Oct 8, 2019

Should support detecting if build is on GitHub Actions and if it is own pull request vs forked repo request

@bahmutov
Copy link
Owner Author

bahmutov commented Oct 9, 2019

@bahmutov bahmutov self-assigned this Oct 9, 2019
@bahmutov
Copy link
Owner Author

bahmutov commented Oct 9, 2019

Waiting for GitHub Actions access

@bahmutov
Copy link
Owner Author

bahmutov commented Oct 9, 2019

Ok, trying in cypress-example-kitchensink

Normal push to master https://github.com/cypress-io/cypress-example-kitchensink/commit/a6e6726b106acad5ba16a707cba69bd9bc74087a/checks?check_suite_id=258101055

GITHUB_ACTION=run
GITHUB_ACTIONS=true
GITHUB_ACTOR=bahmutov
GITHUB_BASE_REF=
GITHUB_EVENT_NAME=push
GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
GITHUB_HEAD_REF=
GITHUB_REF=refs/heads/master
GITHUB_REPOSITORY=cypress-io/cypress-example-kitchensink
GITHUB_SHA=a6e6726b106acad5ba16a707cba69bd9bc74087a
GITHUB_WORKFLOW=CI
GITHUB_WORKSPACE=/home/runner/work/cypress-example-kitchensink/cypress-example-kitchensink

internal pull request https://github.com/cypress-io/cypress-example-kitchensink/commit/b04a3e7e8e83d753bb411a69d21f1d6f69c4ec1b/checks?check_suite_id=258110648

GITHUB_ACTION=run
GITHUB_ACTIONS=true
GITHUB_ACTOR=bahmutov
GITHUB_BASE_REF=
GITHUB_EVENT_NAME=push
GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
GITHUB_HEAD_REF=
GITHUB_REF=refs/heads/internal-pr
GITHUB_REPOSITORY=cypress-io/cypress-example-kitchensink
GITHUB_SHA=b04a3e7e8e83d753bb411a69d21f1d6f69c4ec1b
GITHUB_WORKFLOW=CI
GITHUB_WORKSPACE=/home/runner/work/cypress-example-kitchensink/cypress-example-kitchensink

forked pull request

https://help.github.com/en/articles/events-that-trigger-workflows#pull-request-events-for-forked-repositories-1

https://github.com/cypress-io/cypress-example-kitchensink/commit/4f1e744bc7a1250bc9d0e6c401cf863c22f864b7/checks?check_suite_id=258152514

GITHUB_ACTION=run
GITHUB_ACTIONS=true
GITHUB_ACTOR=bahmutov
GITHUB_BASE_REF=master
GITHUB_EVENT_NAME=pull_request
GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
GITHUB_HEAD_REF=master
GITHUB_REF=refs/pull/304/merge
GITHUB_REPOSITORY=cypress-io/cypress-example-kitchensink
GITHUB_SHA=e07026c13fe44fbff7aeccaacf6772c57ddcb5c0
GITHUB_WORKFLOW=CI
GITHUB_WORKSPACE=/home/runner/work/cypress-example-kitchensink/cypress-example-kitchensink

bahmutov added a commit that referenced this issue Oct 9, 2019
bahmutov added a commit that referenced this issue Oct 9, 2019
* feat: support GitHub Actions, close #113

* chore: update README
@bahmutov
Copy link
Owner Author

bahmutov commented Oct 9, 2019

🎉 This issue has been resolved in version 2.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant