fix: datetime become empty in example workflow (#33) #18
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: "yamllint" | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "main" | |
types: [ "opened", "synchronize" ] | |
jobs: | |
yamllint: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "checkout" | |
uses: "actions/checkout@v4" | |
- name: "review github actions for development yaml format" | |
uses: "reviewdog/action-yamllint@v1" | |
with: | |
github_token: "${{ secrets.GITHUB_TOKEN }}" | |
reporter: "github-pr-review" | |
level: "warning" | |
yamllint_flags: "-c .yamllint ./.github/workflows/" | |
fail_on_error: true | |
- name: "review github actions yaml format" | |
uses: "reviewdog/action-yamllint@v1" | |
with: | |
github_token: "${{ secrets.GITHUB_TOKEN }}" | |
reporter: "github-pr-review" | |
level: "warning" | |
yamllint_flags: "-c .yamllint ./action.yml" | |
fail_on_error: true |