diff --git a/.github/workflows/trigger-pr-stable.yml b/.github/workflows/trigger-pr-stable.yml index 5b50529..304a2db 100644 --- a/.github/workflows/trigger-pr-stable.yml +++ b/.github/workflows/trigger-pr-stable.yml @@ -1,6 +1,6 @@ --- # yamllint disable rule:truthy -name: "Pull Request on stable" +name: "Pull Request on main/stable" on: pull_request: diff --git a/.github/workflows/trigger-push-stable.yml b/.github/workflows/trigger-push-stable.yml index c00b827..203dec5 100644 --- a/.github/workflows/trigger-push-stable.yml +++ b/.github/workflows/trigger-push-stable.yml @@ -1,6 +1,6 @@ --- # yamllint disable rule:truthy -name: "Push on stable" +name: "Push on main/stable" on: push: @@ -75,13 +75,13 @@ jobs: - name: Update lock file run: poetry lock --no-update - - name: commit pyproject.toml and galaxy.yml + - name: commit pyproject.toml uses: github-actions-x/commit@v2.9 with: github-token: ${{ secrets.GH_INFRAHUB_BOT_TOKEN }} - push-branch: 'stable' - commit-message: 'chore: update pyproject.toml & galaxy.yml' - files: pyproject.toml galaxy.yml + push-branch: 'main' + commit-message: 'chore: update pyproject.toml' + files: pyproject.toml poetry.lock name: opsmill-bot email: github-bot@opsmill.com rebase: true diff --git a/.github/workflows/workflow-publish.yml b/.github/workflows/workflow-publish.yml index 85ecaf2..baa681b 100644 --- a/.github/workflows/workflow-publish.yml +++ b/.github/workflows/workflow-publish.yml @@ -58,12 +58,9 @@ jobs: - name: "Poetry build" run: "poetry build" - working-directory: "./infrahub_sync" - name: "show output" run: "ls -la dist/" - working-directory: "./infrahub_sync" - name: "Poetry push PyPI" run: "poetry publish" - working-directory: "./infrahub_sync"