https://github.com/beacon-biosignals/wait-for-job
Wait for a specific workflow job to complete
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.0%) to scientific vocabulary
Keywords
Repository
Wait for a specific workflow job to complete
Basic Info
- Host: GitHub
- Owner: beacon-biosignals
- License: mit
- Language: Shell
- Default Branch: main
- Size: 22.5 KB
Statistics
- Stars: 0
- Watchers: 16
- Forks: 0
- Open Issues: 0
- Releases: 1
Topics
Metadata Files
README.md
Wait for Job
Wait for a specific GitHub Actions workflow job to complete. Can be useful for synchronization between separate workflows.
This action can be used to wait for jobs within the same workflow but users should typically rely on the built-in GitHub Actions jobs.*.needs functionality for this purpose.
Example
```yaml
jobs: example: # These permissions are needed to: # - Get the workflow run: https://github.com/beacon-biosignals/get-workflow-run#permissions # - Wait for the workflow job: https://github.com/beacon-biosignals/wait-for-job#permissions runs-on: ubuntu-latest steps: - uses: beacon-biosignals/get-workflow-run@v1 id: workflow-run with: workflow-file: build.yaml commit-sha: ${{ github.event.pull_request.head.sha }} - uses: beacon-biosignals/wait-for-job@v1 id: wait-for-job with: run-id: ${{ steps.workfow-run.outputs.run-id }} job-name: Build # Now interact with shared resource created or modified the the job ```
Inputs
| Name | Description | Required | Example |
|:---------------------|:------------|:---------|:--------|
| run-id | The workflow run containing the job to wait for. | Yes | 9035794515 |
| job-name | The rendered workflow job name to wait for. | Yes | Build |
| timeout | The maximum amount of seconds to wait for the workflow job. Defaults to 600 (10 minutes). | No | 300 |
| poll-interval | Number of seconds between job status checks. Defaults to 15. | No | 5 |
| repository | The repository runing the workflow. Defaults to ${{ github.repository }}. | No | beacon-biosignals/wait-for-job |
| token | The GitHub token used to authenticate with the GitHub API. Need when attempting to access artifacts in a different repository. Defaults to ${{ github.token }}. | No | ${{ secret.PAT }} |
Outputs
| Name | Description | Example |
|:-------------|:------------|:--------|
| job-id | The job ID of the job which was waited upon. | 35737668081 |
| conclusion | The result of the completed job after continue-on-error is applied. Possible values are success, failure, cancelled, or skipped. | success |
Permissions
The following job permissions are required to run this action:
yaml
permissions:
actions: read
Owner
- Name: Beacon Biosignals
- Login: beacon-biosignals
- Kind: organization
- Website: https://beacon.bio
- Repositories: 30
- Profile: https://github.com/beacon-biosignals
GitHub Events
Total
- Release event: 1
- Delete event: 8
- Issue comment event: 8
- Push event: 48
- Public event: 1
- Pull request review comment event: 1
- Pull request review event: 9
- Pull request event: 15
- Create event: 9
Last Year
- Release event: 1
- Delete event: 8
- Issue comment event: 8
- Push event: 48
- Public event: 1
- Pull request review comment event: 1
- Pull request review event: 9
- Pull request event: 15
- Create event: 9
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 15
- Average time to close issues: N/A
- Average time to close pull requests: 1 day
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.93
- Merged pull requests: 13
- Bot issues: 0
- Bot pull requests: 9
Past Year
- Issues: 0
- Pull requests: 15
- Average time to close issues: N/A
- Average time to close pull requests: 1 day
- Issue authors: 0
- Pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.93
- Merged pull requests: 13
- Bot issues: 0
- Bot pull requests: 9
Top Authors
Issue Authors
Pull Request Authors
- dependabot[bot] (9)
- omus (6)