Stack
justify
prop has no effect
#351
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: Move new issues to inbox | |
on: | |
issues: | |
types: [opened, reopened] | |
jobs: | |
add-to-inbox: | |
if: ${{ github.repository == 'primer/react' && (github.event.action == 'opened' || github.event.action == 'reopened') }} | |
runs-on: ubuntu-latest | |
env: | |
ISSUE_URL: ${{ github.event.issue.html_url }} | |
PROJECT_ID: 4503 | |
steps: | |
- id: get-primer-access-token | |
uses: camertron/github-app-installation-auth-action@v1 | |
with: | |
app-id: ${{ vars.PRIMER_ISSUE_TRIAGE_APP_ID }} | |
private-key: ${{ secrets.PRIMER_ISSUE_TRIAGE_APP_PRIVATE_KEY }} | |
client-id: ${{ vars.PRIMER_ISSUE_TRIAGE_APP_CLIENT_ID }} | |
client-secret: ${{ secrets.PRIMER_ISSUE_TRIAGE_APP_CLIENT_SECRET }} | |
installation-id: ${{ vars.PRIMER_ISSUE_TRIAGE_APP_INSTALLATION_ID }} | |
- name: Add react label to issue | |
run: | | |
gh issue edit $ISSUE_URL --add-label react | |
env: | |
GH_TOKEN: ${{ steps.get-primer-access-token.outputs.access-token }} | |
- id: get-github-access-token | |
uses: camertron/github-app-installation-auth-action@v1 | |
with: | |
app-id: ${{ vars.PRIMER_ISSUE_TRIAGE_APP_ID_FOR_GITHUB }} | |
private-key: ${{ secrets.PRIMER_ISSUE_TRIAGE_APP_PRIVATE_KEY_FOR_GITHUB }} | |
client-id: ${{ vars.PRIMER_ISSUE_TRIAGE_APP_CLIENT_ID_FOR_GITHUB }} | |
client-secret: ${{ secrets.PRIMER_ISSUE_TRIAGE_APP_CLIENT_SECRET_FOR_GITHUB }} | |
installation-id: ${{ vars.PRIMER_ISSUE_TRIAGE_APP_INSTALLATION_ID_FOR_GITHUB }} | |
- name: Add issue to project | |
run: gh project item-add $PROJECT_ID --url $ISSUE_URL --owner github | |
env: | |
GH_TOKEN: ${{ steps.get-github-access-token.outputs.access-token }} |