mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-08-29 07:08:50 +00:00
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 * 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.
28 lines
732 B
YAML
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 });
|