Bad Feminist by Roxane Gay (100%) #35
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: "Bookshelf Action: Close Issue" | |
on: | |
issues: | |
types: [closed] | |
jobs: | |
bookshelf-action: | |
name: Bookshelf Action | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run Bookshelf Action | |
uses: AnandChowdhary/bookshelf-action@HEAD | |
with: | |
command: "onCloseIssue" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Delay for 10 seconds | |
if: github.repository == 'AnandChowdhary/books' | |
run: sleep 10 | |
- name: Dispatch AnandChowdhary/everything update | |
if: github.repository == 'AnandChowdhary/books' | |
uses: benc-uk/[email protected] | |
with: | |
repo: AnandChowdhary/everything | |
workflow: api.yml | |
token: ${{ secrets.WORKFLOW_DISPATCH_TOKEN }} |