Files
Draupnir/.github/workflows/pr-ghcr-image-comment-opened.yml
Catalan Lover 5b3da3ee07
Docker Hub - Develop / docker-latest (push) Has been skipped
GHCR - Development Branches / ghcr-publish (push) Failing after 38s
Tests / Build & Lint (push) Failing after 2m30s
Tests / Unit tests (push) Successful in 3m11s
Tests / Integration tests (push) Failing after 13s
Tests / Application Service Integration tests (push) Failing after 17s
Add Quick Access to images comment to PRs (#1133)
* Add Quick Access to images comment to PRs

* Refactor Image comment workflow to use shared script pattern.

Also refactors away dead crud.

* Refine comment output and normalise names to prevent bugs.

* Fix PR comment writing not working.

* Please the linter

* Remove Sha Tag due to it going stale if any branch movement happens.
2026-05-19 15:35:54 +02:00

28 lines
732 B
YAML

# SPDX-FileCopyrightText: 2026 Catalan Lover <catalanlover@protonmail.com>
#
# SPDX-License-Identifier: Apache-2.0
name: "PR - GHCR Image Link (Opened)"
on:
pull_request_target:
types: [opened, synchronize, reopened]
permissions:
issues: write
pull-requests: write
jobs:
comment-pr:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Comment on the pull request
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
with:
script: |
const script = require('./.github/scripts/pr-ghcr-image-comment.js');
await script({ github, context, core });