Skip to content

Commit

Permalink
Merge pull request #126 from williamfgc/update-action
Browse files Browse the repository at this point in the history
Update to latest checkout action
  • Loading branch information
williamfgc authored Oct 21, 2024
2 parents df9a679 + 6e04356 commit a028ee0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-gpu-AMD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
- name: GitHub API Request
if: steps.check.outputs.triggered == 'true'
id: request
uses: octokit/request-action@v2.1.9
uses: octokit/request-action@v2.x
with:
route: ${{github.event.issue.pull_request.url}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

# Create a separate PR status pointing at GitHub Actions tab URL
# just like any other third-party service
Expand All @@ -67,7 +67,7 @@ jobs:
if: steps.check.outputs.triggered == 'true'
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{secrets.GITHUB_TOKEN}}
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
ref: ${{steps.pr_data.outputs.branch}}

Expand All @@ -92,7 +92,7 @@ jobs:
if: always() && steps.check.outputs.triggered == 'true'
uses: geekdude/github-status-action-v2@v1.1.10
with:
authToken: ${{ secrets.GITHUB_TOKEN }}
authToken: ${{secrets.GITHUB_TOKEN}}
context: "ci-GPU-AMD ${{matrix.jobname}}"
state: ${{job.status}}
sha: ${{fromJson(steps.request.outputs.data).head.sha}}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-gpu-NVIDIA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: GitHub API Request
if: steps.check.outputs.triggered == 'true'
id: request
uses: octokit/request-action@v2.1.9
uses: octokit/request-action@v2.x
with:
route: ${{github.event.issue.pull_request.url}}
env:
Expand All @@ -49,7 +49,7 @@ jobs:
uses: geekdude/github-status-action-v2@v1.1.10
with:
authToken: ${{secrets.GITHUB_TOKEN}}
context: "ci-gpu-nvidia-ornl ${{ matrix.jobname }}"
context: "ci-gpu-NVIDIA ${{ matrix.jobname }}"
state: "pending"
sha: ${{fromJson(steps.request.outputs.data).head.sha}}
target_url: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
uses: geekdude/github-status-action-v2@v1.1.10
with:
authToken: ${{secrets.GITHUB_TOKEN}}
context: "ci-gpu-nvidia-ornl ${{matrix.jobname}}"
context: "ci-gpu-NVIDIA ${{matrix.jobname}}"
state: ${{job.status}}
sha: ${{fromJson(steps.request.outputs.data).head.sha}}
target_url: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}

0 comments on commit a028ee0

Please sign in to comment.