Skip to content

Commit

Permalink
fix docker requirements update workflow (#474)
Browse files Browse the repository at this point in the history
Co-authored-by: Arjun Verma <[email protected]>
  • Loading branch information
pmeier and arjxn-py authored Aug 4, 2024
1 parent 904b3ef commit 7071cf4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/DOCKER_ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: Workflow Failure: docker-requirements
labels: bug
title: "Workflow Failure: docker-requirements"
labels: "bug"
---

The workflow 'docker-requirements' has failed. Please check the details at: [Workflow
Run Details](https://github.com/{{ repository }}/actions/runs/{{ run_id }})
Run Details](https://github.com/{{ env.REPOSITORY }}/actions/runs/{{ env.RUN_ID }})

Triggered by: {{ actor }}
Triggered by: @{{ actor }}
7 changes: 4 additions & 3 deletions .github/workflows/update-docker-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
- ".github/workflows/update-docker-requirements.yml"
- "pyproject.toml"
- "requirements-docker.lock"
workflow_dispatch:

permissions:
pull-requests: write
Expand Down Expand Up @@ -48,7 +47,7 @@ jobs:
- name: Check if commit is associated with a PR
id: pr-check
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ github.token }}
run: |
PR_NUMBER=$(gh api \
-H 'Accept: application/vnd.github+json' \
Expand Down Expand Up @@ -85,6 +84,8 @@ jobs:
if: failure()
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
REPOSITORY: ${{ github.repository }}
RUN_ID: ${{ github.run_id }}
with:
filename: .github/ISSUE_TEMPLATE/DOCKER_ISSUE_TEMPLATE.md

0 comments on commit 7071cf4

Please sign in to comment.