-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0254ff
commit 84bdc8a
Showing
4 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
question: "What is the purpose of the `restore-keys` parameter in `actions/cache` in GitHub Actions?" | ||
archetype: "questions" | ||
title: "Question 105" | ||
draft: false | ||
--- | ||
|
||
|
||
> https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#managing-caches | ||
1. [x] provide alternative keys to use in case of a cache miss | ||
1. [ ] indicate whether a cache hit occurred | ||
1. [ ] specify the location of the cached files | ||
1. [ ] enable cross-OS cache functionality |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
question: "Which variable would you set to `true` in order to enable step debug logging?" | ||
archetype: "questions" | ||
title: "Question 102" | ||
draft: false | ||
--- | ||
|
||
> https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging | ||
1. [x] `ACTIONS_STEP_DEBUG` | ||
1. [ ] `ACTIONS_JOB_DEBUG` | ||
1. [ ] `ACTIONS_RUNNER_DEBUG` | ||
1. [ ] `ACTIONS_WORKFLOW_DEBUG` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
question: "Which configuration is appropriate for triggering a workflow to run on webhook events related to check_run actions?" | ||
archetype: "questions" | ||
title: "Question 108" | ||
draft: false | ||
--- | ||
|
||
|
||
> https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#check_run | ||
1. [x] | ||
```yaml | ||
on: | ||
check_run: | ||
types: [requested, completed] | ||
``` | ||
1. [ ] | ||
```yaml | ||
on: | ||
check_run: | ||
types: [started] | ||
``` | ||
1. [ ] | ||
```yaml | ||
on: | ||
check_run: | ||
type: [closed] | ||
``` | ||
1. [ ] | ||
```yaml | ||
on: | ||
check_run: | ||
filter: [requested] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
question: "What is the purpose of the `timeout-minutes` keyword in a step?" | ||
archetype: "questions" | ||
title: "Question 109" | ||
draft: false | ||
--- | ||
|
||
|
||
> https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes | ||
1. [x] it limits the execution time for individual commands within a step | ||
1. [ ] it defines the time interval for individual commands within a step | ||
1. [ ] it sets the timeout for waiting on external events before proceeding to the next step | ||
1. [ ] it specifies the maximum duration a job is allowed to run |