新以太坊如何工作? #6
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: Fetch Web pages | |
on: | |
issues: | |
types: | |
- labeled | |
jobs: | |
Fetch-and-Save: | |
if: github.event.label.name == 'Translation' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
issues: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: freeCodeCamp-China/article-webpage-to-markdown-action@v1 | |
with: | |
newsLink: "${{ github.event.issue.Body }}" | |
markDownFilePath: "./_posts/Article/Translation/" | |
githubToken: ${{ github.token }} | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "${{ github.event.issue.title }}" |