Skip to content

Commit

Permalink
chore: remove the permission checking step (#651) (CP: 1.2) (#662)
Browse files Browse the repository at this point in the history
chore: remove the permission checking step (#651)

github action offers a feature that asking the team member to trigger the build.

Co-authored-by: Zhe Sun <[email protected]>
  • Loading branch information
vaadin-bot and ZheSun88 authored Nov 21, 2022
1 parent 0befd9f commit 5663d5f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,8 @@ jobs:
packages-it: ${{ steps.packages-it.outputs.packages }}

steps:
- uses: ZheSun88/check-user-permission@triggering-actor
id: check
with:
require: 'write'
- name: Check Secrets
run: |
[ "${{ steps.check.outputs.require-result }}" != "true" ] \
&& echo "::error::!! NO USER PERMISSIONS FOR RUNNING VALIDATION: Check if the PR is from an external contributor !!" \
&& exit 1 || exit 0
TB_LICENSE="${{secrets.TB_LICENSE}}"
[ -z "$TB_LICENSE" ] \
&& echo "::error::!! ERROR NO TB_LICENSE: Check that this repo has a valid TB_LICENSE secret !!" \
Expand Down

0 comments on commit 5663d5f

Please sign in to comment.