Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/camara-validation.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# CAMARA Validation Framework — Caller Workflow
#
# Copy this file to .github/workflows/camara-validation.yml in your
# API repository. No modification needed — all configuration is
# centralized in the tooling repository.
# Installed in API repositories by the CAMARA onboarding campaign
# (camaraproject/project-administration). No modification needed;
# all configuration is centralized in camaraproject/tooling.
#
# This replaces the v0 pr_validation_caller.yml for repositories that
# have opted into the v1 validation framework.
# Replaces the legacy pr_validation_caller.yml (v0 validation).

name: CAMARA Validation

Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/release-automation.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Release Automation Caller Workflow
# CAMARA Release Automation Caller Workflow
#
# This workflow template should be copied to .github/workflows/ in API repositories
# that want to use the CAMARA release automation.
#
# Copy this file as: .github/workflows/release-automation.yml
# Installed in API repositories by the CAMARA onboarding campaign
# (camaraproject/project-administration). No modification needed;
# all configuration is centralized in camaraproject/tooling.
#
# Triggers:
# - Slash commands: /create-snapshot, /discard-snapshot, /delete-draft, /publish-release
Expand Down Expand Up @@ -68,15 +67,15 @@ permissions:
jobs:
release-automation:
# Skip if:
# - issue_comment from a Bot (release automation bot comments, not human commands)
# - issue_comment from the RA bot itself (its own replies, to prevent self-triggering)
# - issue_comment but not a release command or not on a release issue
# - issues event but not a release issue
# - pull_request but not merged or not to a snapshot branch
if: |
(github.event_name == 'push') ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'issue_comment' &&
github.event.comment.user.type != 'Bot' &&
github.event.comment.user.login != 'camara-release-automation[bot]' &&
contains(github.event.issue.labels.*.name, 'release-issue') &&
(startsWith(github.event.comment.body, '/create-snapshot') ||
startsWith(github.event.comment.body, '/discard-snapshot') ||
Expand Down