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

- trying again #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 8 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,27 +51,12 @@ jobs:
check:
name: Checking Required Reviewers
runs-on: ubuntu-latest
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name

steps:
- uses: Automattic/action-required-review@v2
with:
requirements: |
- paths: unmatched
teams:
- @trevoryager-callaway

publish:
if: github.ref == 'refs/heads/main' && ${{ success() }}
needs: build
runs-on: ubuntu-latest
# Fresh checkout to protect from injection during the previous build step (like prepack)
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- name: Publish
# VERY IMPORTANT NOT TO RUN SCRIPTS TO PROTECT FROM MALICIOUS PACKAGES
run: |
echo Maybe Success!
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name && github.ref == 'refs/heads/main' && ${{ success() }}
steps:
- uses: CHECK REVIEWS
with:
requirements: |
- paths: unmatched
teams:
- @trevoryager-callaway