mirror of
https://github.com/electron/electron.git
synced 2026-02-19 03:14:51 -05:00
* build: limit workflow gh token permissions Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com> * feedback Co-authored-by: Samuel Attard <sattard@anthropic.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com> Co-authored-by: Samuel Attard <sattard@anthropic.com>
26 lines
659 B
YAML
26 lines
659 B
YAML
name: "Check Semantic Commit"
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- synchronize
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
main:
|
|
permissions:
|
|
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
|
|
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
|
|
name: Validate PR Title
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: semantic-pull-request
|
|
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
validateSingleCommit: false
|