Skip to content

Commit

Permalink
codeownership for .github folder (NVIDIA#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
bettinaheim authored Aug 9, 2023
1 parent de86af4 commit ec38d3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.github @bettinaheim @amccaskey
20 changes: 2 additions & 18 deletions .github/workflows/publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,9 @@ on:
name: Packages

jobs:
workflow_info:
name: Workflow information
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- run: |
echo "triggering workflow: ${{ github.event.workflow_run.id }}$" >> $GITHUB_STEP_SUMMARY
echo "workflow conclusion: ${{ github.event.workflow_run.conclusion }}$" >> $GITHUB_STEP_SUMMARY
echo "pull request: ${{ github.event.workflow_run.pull_requests.number }}$" >> $GITHUB_STEP_SUMMARY
echo "deployment artifacts url: ${{ github.event.workflow_run.artifacts_url }}$" >> $GITHUB_STEP_SUMMARY
echo "deployment actor name: ${{ github.event.workflow_run.actor.name }}$" >> $GITHUB_STEP_SUMMARY
echo "deployment actor id: ${{ github.event.workflow_run.actor.id }}$" >> $GITHUB_STEP_SUMMARY
echo "deployment triggering actor name: ${{ github.event.workflow_run.triggering_actor.name }}$" >> $GITHUB_STEP_SUMMARY
echo "deployment triggering actor id: ${{ github.event.workflow_run.triggering_actor.id }}$" >> $GITHUB_STEP_SUMMARY
cudaq_hpc:
name: CUDA Quantum Docker image
if: github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.actor.name == 'cuda-quantum-bot')
if: github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.actor.id == '135836288')
runs-on: ubuntu-latest
timeout-minutes: ${{ github.event_name == 'workflow_dispatch' && 360 || 100 }}
permissions:
Expand All @@ -52,6 +35,7 @@ jobs:
artifacts_url=https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ inputs.deployment_id }}/artifacts
else
artifacts_url=${{ github.event.workflow_run.artifacts_url }}
echo "Artifacts downloaded from https://github.com/${{ github.repository }}/actions/runs/${{ github.event.workflow_run.id }}" >> $GITHUB_STEP_SUMMARY
fi
artifacts=$(gh api $artifacts_url -q '.artifacts[] | {name: .name, url: .archive_download_url}')
Expand Down

0 comments on commit ec38d3e

Please sign in to comment.