feat(colors): add states-bg-success (#DS-3391) #70
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Welcome | |
# Note that this `pull_request_target` is vulnerable, it grants write access to a fork repo | |
# DO NOT ADD ANY CHECKOUT/CACHING in this workflow | |
on: | |
pull_request_target: | |
types: [opened] | |
jobs: | |
pr-open-greeting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions-cool/check-user-permission@v2 | |
id: isTeamMember | |
with: | |
require: 'write' | |
username: ${{ github.event.pull_request.user.login }} | |
- uses: actions-awesome/[email protected] | |
if: steps.isTeamMember.outputs.require-result == 'false' | |
with: | |
actions: 'add-assignees, add-reviewers, greeting, add-labels' | |
assignees: 'koobiq/backers' | |
reviewers: 'koobiq/backers' | |
labels: 'Contribution::Community' | |
token: ${{ github.token }} | |
pr-number: ${{ github.event.pull_request.number }} | |
greeting-message: 'Hello %user%, thank you for contributing to %repo%, please see our [guideline](%guideline%) to see how to make contribution' | |
greeting-guideline-address: 'https://github.com/koobiq/design-tokens/blob/main/CONTRIBUTING.md' |