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: 8 additions & 1 deletion .github/workflows/galaxy-import.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
name: Galaxy Import

on:
# Manual tags pushed outside Actions
push:
tags:
- "v*"
# semantic-release creates GitHub Releases with GITHUB_TOKEN; that does not
# re-trigger tag-push workflows, so listen for the release event too.
release:
types: [published]
workflow_dispatch:

jobs:
import:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.x"

Expand All @@ -27,4 +32,6 @@ jobs:
exit 1
fi
# Hardcode legacy github_user so FQN stays 0x0i.basic_service
# Do not set galaxy_info.namespace in meta (0x0i is not lint-valid;
# omitting namespace lets Galaxy keep the existing listing).
ansible-galaxy role import 0x0I basic-service --token "$GALAXY_API_KEY"
3 changes: 3 additions & 0 deletions tests/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ exclude_paths:
- ./*
warn_list:
- experimental
# Galaxy FQN is 0x0i.basic_service; meta cannot declare that namespace
# (namespaces must start with a letter) without breaking Galaxy import.
- role-name
Loading