Skip to content

Learn Python in One Day By Jamie Chan (100%) #64

Learn Python in One Day By Jamie Chan (100%)

Learn Python in One Day By Jamie Chan (100%) #64

name: "Bookshelf Action: New Issue"
on:
issues:
types: [opened]
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: "onNewIssue"
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 }}