Commit graph

7 commits

Author SHA1 Message Date
Joe Doss
67342a4edf
Add github.event.comment.author_association == 'CONTRIBUTOR' to if statement (#11822)
This should be the last PR to get the `/ci` and `/rebase` commands working in
GitHub Actions. The issue is that our membership settings for `forem/forem` have
everyone set to 'CONTRIBUTOR' instead of 'MEMBER' or 'OWNER'.

Adding github.event.comment.author_association == 'CONTRIBUTOR' should fix this
issue.

I also cleaned up all action files to make the main name of the workflow as
succinct as possible to better organize the left menut of the GitHub Actions
page.

This PR won't fix the issues with the "Run forem/build-containers pipeline"
job in buildkite.yml but I will address those issues in another  PR.
2020-12-09 08:36:57 -06:00
Joe Doss
a8b9e9ab95
Add debug to actions. (#11819) 2020-12-08 18:12:06 -06:00
Joe Doss
4504ac15ec
GitHub Action bug fixes (#11816)
* Update if statement w/r/t github.event.issue.pull_request conditional and update
cirrus-actions/rebase to 1.4.

* Fix running the PR comment workflow so it only runs if

github.event.pull_request.head.repo.full_name != github.repository

How neat!
2020-12-08 16:54:28 -06:00
Joe Doss
bb849bf319
Try to fix GitHub Action conditionals again... (#11807) 2020-12-08 10:38:09 -06:00
Yash Dave
c9ff792497
fix actions/checkout to v2 for rebase workflow (#9515) 2020-07-28 10:34:35 -05:00
Jacob Herrington
0b973c9d82
Allow organization owners to use the Automatic Rebase workflow (#9090)
* Allow org owners to kick off automatic rebase

I suspect without this change PBJ couldn't kick off the automatic rebase
workflow.

This also includes a tweak to our method for determining if this is a
comment on a PR. I personally think this method is more explicit and
therefore readable.

* Add explanatory comment to rebase workflow

This might help someone determine what the workflow does at a glance, it
also documents a slightly unexpected caveat: The workflow can't be
triggered if your organization membership is private.

* Trigger Travis

Co-authored-by: rhymes <rhymesete@gmail.com>
2020-07-03 10:49:40 -05:00
Awasum Yannick
f298f8c41f
Enable Automatic Rebase: Fix #8927 (#9018)
* Enable Automatic Rebase: Fix #8927

* Update rebase.yml to use startsWith

Use startsWith() instead of contains() in Github Action so as to prevent accidental Rebase of PRs.
2020-07-02 12:42:21 +02:00