-
Create a new repo using the GitHub CLI.
Solution
gh repo create cd new-repo gh repo view --web
-
Create an issue for
README.md
content. -
Configure the
master
branch to require a pull request before merging. Configure approvals before merging a PR. Set the required number of approvals before merging to 1. Do not allow administrators to bypass these protections. -
Edit the
README.md
file and create a pull request. Add a task list. Link the previous issue to the pull request. Merge the pull request. -
Trigger a workflow which deletes worflow runs in the repository using a scheduled event.
-
Manually trigger a workflow (
workflow_dispatch
) which sets up Python (version is retrieved using an input) and prints the Python version. -
Manually trigger a workflow (
repository_dispatch
) and show the content of the client payload.Solution
curl \ -X POST \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ https://api.github.com/repos/SoheilSalmani/github-actions-activities/dispatches \ -d '{"event_type": "show_payload", "client_payload": {}'
-
Create a workflow to auto-assign issues to you on creation.
-
Create a workflow (triggered manually) to show details of the runner workspace.
-
Create a secret at the repository level and another at the environment level with the same name but with a different value. Create a workflow to print the secret value.
-
Create a Slack workspace, a Slack App, and a workflow to notify a new release version on tag creation. Delete the workspace, and Slack App when you check that everything is working.
-
Create a workflow to translate non-English issues content to English.
-
Create a new repo and a workflow to lint all commit messages on pull requests.
-
What are the different types of events in GitHub Actions?
-
What are the security concerns with actions and secrets?
-
What are the two types of runners?
-
Notifications
You must be signed in to change notification settings - Fork 0
SoheilSalmani/github-actions-activities
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published