SB别来污染GitHub,这里不搞政治。 Supid cut don't pollute GitHub, here don't do politics https://cirosantilli.com/china-dictatorship/meant-to-be-used #1092
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: Issue | |
on: | |
issues: | |
types: [opened] | |
issue_comment: | |
types: [created] | |
jobs: | |
Issue: | |
runs-on: ubuntu-20.04 | |
steps: | |
- run: echo "github.event_name ${{ github.event_name }}" | |
- run: echo "github.ref ${{ github.ref }}" | |
- run: echo "github.repository ${{ github.repository }}" | |
- run: echo "github.workspace ${{ github.workspace }}" | |
- run: echo "runner.os ${{ runner.os }}" | |
- run: pwd | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- run: npm install | |
- run: ls "${{ github.workspace }}" | |
- name: Main work | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
run: "${{ github.workspace }}/action.js" | |
- run: echo "job.status ${{ job.status }}." |