2023-04-19 02:23:49 -04:00
|
|
|
name: DangerJS Pull Request review
|
|
|
|
|
|
|
|
on:
|
2023-08-24 08:15:11 -04:00
|
|
|
pull_request_target:
|
2023-04-19 02:23:49 -04:00
|
|
|
types: [opened, edited, reopened, synchronize]
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
2023-08-24 08:15:11 -04:00
|
|
|
contents: write
|
2023-04-19 02:23:49 -04:00
|
|
|
|
|
|
|
jobs:
|
2023-12-05 06:56:58 -05:00
|
|
|
pull-request-style-linter:
|
2023-04-19 02:23:49 -04:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-08-24 08:15:11 -04:00
|
|
|
- name: Check out PR head
|
2023-12-05 06:56:58 -05:00
|
|
|
uses: actions/checkout@v4
|
2023-08-24 08:15:11 -04:00
|
|
|
with:
|
|
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
2023-04-19 02:23:49 -04:00
|
|
|
|
2023-12-05 06:56:58 -05:00
|
|
|
- name: DangerJS pull request linter
|
|
|
|
uses: espressif/shared-github-dangerjs@v1
|
2023-04-19 02:23:49 -04:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2023-12-05 06:56:58 -05:00
|
|
|
with:
|
|
|
|
instructions-gitlab-mirror: 'true'
|
|
|
|
instructions-contributions-file: 'CONTRIBUTING.md'
|
|
|
|
instructions-cla-link: 'https://cla-assistant.io/espressif/esp-idf'
|