Giter Club home page Giter Club logo

ansible-galaxy-action's Introduction

Hi there ๐Ÿ‘‹

ansible-galaxy-action's People

Contributors

dependabot[bot] avatar hspaans avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ansible-galaxy-action's Issues

Even if the import fails, the job is still marked as passed

Hi! First of all, thanks for creating this action ๐Ÿ˜„

Describe the bug

Even if the import fails, the job is still marked as passed. See the screenshot below.

To Reproduce

Just follow this link to view my repo files at the specific commit (there is only one workflow file and it's very simple):
https://github.com/dmotte/ansible-role-disable-ipv6/tree/793767c3546e4ec1bbd94b50c4268f880cd75101

Expected behavior

If the import fails, the job should fail too.

Screenshots

ghactions-galaxy-issue

Use wrong branch name for cloning `master` instead `main`

Describe the bug

Git clone happens on master rather main, which is set as default branch

Starting import: task_id=918362, repository=papanito/ansible-role-cloudflared 
 
Task "918362" failed: Command '['git', 'clone', '--quiet', '--depth', '1', '--branch', 'master', 'https://github.com/papanito/ansible-role-cloudflared.git', '/var/tmp/galaxy/imports/tmpr4z6riu2']' returned non-zero exit status 128. 

To Reproduce
Use this workflow

name: Create release

on:
  workflow_call:
    secrets:
      gh_token:
        required: true
      galaxy_api_key:
        required: true

jobs:
   ...
  import-role:
    runs-on: ubuntu-latest
    needs: create-release
    steps:
    - name: Publish Ansible role to Galaxy
      uses: hspaans/ansible-galaxy-action@v1
      with:
        api_key: ${{ secrets.galaxy_api_key }}

Expected behavior
Role clones the correct branch

Screenshots

image

Additional context
N/A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.