Skip to content

Commit

Permalink
ci: add semantic-pull-request
Browse files Browse the repository at this point in the history
This workflow is required by the Mergify configuration.
  • Loading branch information
DouglasBlackwood authored Nov 8, 2023
1 parent f332c11 commit a84984c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci-target.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Continuous Integration (target)
permissions: read-all

on:
# NOTE(sileht): safe as long as we don't run/build anything from the pull request
# BEWARE THIS WORKFLOW USE actions/checkout, any change must take care of
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
pull_request_target:
branches:
- main
- devs/**
types:
- opened
- edited
- synchronize

jobs:
semantic-pull-request:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
if: ${{ !startsWith(github.head_ref, 'mergify/merge-queue/') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }

0 comments on commit a84984c

Please sign in to comment.