# Ansible/team-devtools's \`release\_collection.yml\` workflow is not working anymore

**URL:** <https://forum.ansible.com/t/ansible-team-devtoolss-release-collection-yml-workflow-is-not-working-anymore/5213>\
**Category:** Get Help\
**Tags:** devtools, netscaler, github, workflow-template, release, collections, galaxy-ng\
**Created:** [April 30, 2024, 9:14am UTC](https://forum.ansible.com/t/ansible-team-devtoolss-release-collection-yml-workflow-is-not-working-anymore/5213 "2024-04-30T09:14:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumanth-lingappa](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sumanth-lingappa/32/839_2.png) [@sumanth-lingappa](https://forum.ansible.com/u/sumanth-lingappa)\
**Post date:** [April 30, 2024, 9:14am UTC](https://forum.ansible.com/t/ansible-team-devtoolss-release-collection-yml-workflow-is-not-working-anymore/5213/1 "2024-04-30T09:14:22Z")

</div>

I am the maintainer of `netscaler.adc` ansible collection and I have integreated an automated workflow to relase my collection to Ansible Galaxy and Ansible Automation Hub whenever a new GitHub release is published.

My workflow file as below

```yaml
---
name: Release the ansible collection to Ansible Galaxy and Ansible Automation Hub
on:
  release:
    types: [published]
jobs:
  release:
    uses: ansible/devtools/.github/workflows/release_collection.yml@main
    with:
      environment: release
    secrets:
      ah_token: ${{ secrets.AH_TOKEN }}
      ansible_galaxy_api_key: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}

```

I internally using [github.com/team-devtools workflow](https://github.com/ansible/team-devtools/blob/main/.github/workflows/release_collection.yml) to release the collection

The github workflow was working till my last release 3 week back. However the pipeline is broken since yesterday.

The error is as below:

```bash
Invalid workflow file: .github/workflows/release.yml#L8
error parsing called workflow ".github/workflows/release.yml" -> "ansible/devtools/.github/workflows/release_collection.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.

```

workflow run link: [Release the ansible collection to Ansible Galaxy and Ansible Automation Hub · netscaler/ansible-collection-netscaleradc@9b850f5 · GitHub](https://github.com/netscaler/ansible-collection-netscaleradc/actions/runs/8892651088)

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/5/5f94d31e78d66c13eaa678c889d9ad83c3625e17.png)

Please help me here as it is blocking our release.

Thank you in advance,  
Sumanth

---

<div class="post-metadata">

**Author:** ![sumanth-lingappa](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sumanth-lingappa/32/839_2.png) [@sumanth-lingappa](https://forum.ansible.com/u/sumanth-lingappa)\
**Post date:** [April 30, 2024, 9:52am UTC](https://forum.ansible.com/t/ansible-team-devtoolss-release-collection-yml-workflow-is-not-working-anymore/5213/2 "2024-04-30T09:52:14Z")

</div>

In my workflow, the `ansible/team-devtools` workflow is used as `ansilbe/devtools`.  
I renamed it to the latest name. ans it worked.

I still wonder, why did it work for the last 4 months. `ansible/devtools` is renamed to `ansible/team-devtools` 4 months ago.

below is the working line:

```yaml
    uses: ansible/team-devtools/.github/workflows/release_collection.yml@main

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [May 30, 2024, 9:52am UTC](https://forum.ansible.com/t/ansible-team-devtoolss-release-collection-yml-workflow-is-not-working-anymore/5213/3 "2024-05-30T09:52:16Z")

</div>

Closed on May 30, 2024, 9:52am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
