Announce to Markdown #3
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: Announce to Markdown | |
on: | |
discussion_comment: | |
types: [created] | |
jobs: | |
announce-to-markdown: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install Dependencies | |
run: npm install | |
working-directory: .github/actions/announce-markdown | |
- name: Run Announce Action | |
id: announce | |
uses: ./.github/actions/announce-markdown | |
env: | |
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} |