Potential fix for code scanning alert no. 71: Use of potentially dangerous function #6279
This file contains hidden or 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: DangerJS Pull Request linter | |
on: | |
pull_request_target: | |
types: [opened, edited, reopened, synchronize] | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
pull-request-style-linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out PR head | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: DangerJS pull request linter | |
uses: espressif/shared-github-dangerjs@fb17367fd3e8ff7412603b8e946d9b19ffdb2d7f # v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
instructions-cla-link: "https://cla-assistant.io/espressif/arduino-esp32" | |
instructions-contributions-file: "docs/en/contributing.rst" | |
rule-max-commits: "false" | |
rule-target-branch: "false" | |
commit-messages-min-summary-length: "10" |