Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.

Bump streamlit from 1.40.1 to 1.54.0 in /lme-log-analyzer #14

Bump streamlit from 1.40.1 to 1.54.0 in /lme-log-analyzer

Bump streamlit from 1.40.1 to 1.54.0 in /lme-log-analyzer #14

name: Publish LME Collection to Ansible Galaxy

Check failure on line 1 in .github/workflows/ludus-roles-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ludus-roles-release.yml

Invalid workflow file

(Line: 46, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GALAXY_API_KEY != ''
on:
workflow_dispatch:
push:
branches:
- develop
- main
tags:
- 'ludus-v*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Ansible
run: pip install ansible-core
- name: Configure collection for branch
run: |
cd ansible
if [[ "${{ github.ref_name }}" == "main" || "${{ github.ref }}" == refs/tags/* ]]; then
# Production: cisagov.lme
sed -i 's/^namespace:.*/namespace: cisagov/' galaxy.yml
sed -i 's/^name:.*/name: lme/' galaxy.yml
else
# Dev: cisagov.lme_dev
sed -i 's/^namespace:.*/namespace: cisagov/' galaxy.yml
sed -i 's/^name:.*/name: lme_dev/' galaxy.yml
fi
echo "--- galaxy.yml after substitution ---"
head -5 galaxy.yml
- name: Build collection
run: ansible-galaxy collection build --force
working-directory: ansible
- name: Publish collection to Galaxy
if: ${{ secrets.GALAXY_API_KEY != '' }}
continue-on-error: true
run: |
ansible-galaxy collection publish \
--api-key "${{ secrets.GALAXY_API_KEY }}" \
ansible/*-lme*.tar.gz