mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-03 13:11:05 +00:00
The major-tag comment (# v6) did not say which release the pinned commit came from. Resolve each pinned SHA to its full version tag and use that in the comment, e.g. docker/build-push-action@10e90e3 # v6.19.2.
34 lines
955 B
YAML
34 lines
955 B
YAML
name: bot
|
|
|
|
on:
|
|
issues:
|
|
types: [opened]
|
|
issue_comment:
|
|
types: [created]
|
|
pull_request:
|
|
types: [opened]
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
contents: read
|
|
|
|
jobs:
|
|
reply:
|
|
# Issue opening is always handled (the maintainer gets silent labeling,
|
|
# visitors get the full triage). Comments and PRs serve visitors only:
|
|
# never react to the maintainer, to bots, or to itself.
|
|
if: >
|
|
github.event_name == 'issues' ||
|
|
(github.actor != 'BaaRai' &&
|
|
github.actor != 'github-actions[bot]' &&
|
|
github.actor != 'dependabot[bot]')
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
|
- name: triage or reply
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GITHUB_EVENT_PATH: ${{ github.event_path }}
|
|
DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}
|
|
run: bash .github/scripts/bot.sh
|