Skip to content

build(deps): Bump github/codeql-action from 3.27.4 to 3.27.5 #92

build(deps): Bump github/codeql-action from 3.27.4 to 3.27.5

build(deps): Bump github/codeql-action from 3.27.4 to 3.27.5 #92

Workflow file for this run

###############################################################################
# _ _ _ _ _____ _
# | | | | | | | | | __ \(_)
# | | ___ | |__ _ __ | |_| |__ ___ | |__) |_ _ __ _ __ ___ _ __
# _ | |/ _ \| '_ \| '_ \ | __| '_ \ / _ \ | _ /| | '_ \| '_ \ / _ \ '__|
# | |__| | (_) | | | | | | | | |_| | | | __/ | | \ \| | |_) | |_) | __/ |
# \____/ \___/|_| |_|_| |_| \__|_| |_|\___| |_| \_\_| .__/| .__/ \___|_|
# | | | |
# |_| |_|
#
# Copyright (c) 2024 Claudio André <[email protected]>
#
# This program comes with ABSOLUTELY NO WARRANTY; express or implied.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, as expressed in version 2, seen at
# http://www.gnu.org/licenses/gpl-2.0.html
###############################################################################
# GitHub Action to react to PR reviews/comments and merge PRs on request
# More info at https://github.com/openwall/john-packages
---
name: Merge bot
"on":
pull_request_review:
types:
- submitted
issue_comment:
types:
- created
permissions:
contents: read
jobs:
call-merge-pr:
permissions:
contents: write
pull-requests: write
name: merge-bot-run
if: >-
startsWith(github.event.review.body, 'bot: MERGE') ||
(
github.event.issue.pull_request != '' &&
startsWith(github.event.comment.body, 'bot: MERGE')
)
uses: openwall/john-packages/.github/workflows/merge-pr.yml@main
with:
branch: ${{ github.event.pull_request.head.ref }}
owner: ${{ github.event.pull_request.head.repo.owner.login }}
repo: ${{ github.event.pull_request.head.repo.name }}
pr-number: ${{ github.event.pull_request.number || github.event.issue.number }}
request: ${{ github.event.review.body || github.event.comment.body }}