Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Rename master to main in all references #8

Merged
merged 1 commit into from
Dec 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ For more information on the goals of this course, check out the [`course-details

## Contribute

See something we could improve? Check out the contributing guide in the [community contributors repository](https://github.com/githubtraining/community-contributors/blob/master/CONTRIBUTING.md) for more information on the types of contributions we :heart: and instructions.
See something we could improve? Check out the contributing guide in the [community contributors repository](https://github.com/githubtraining/community-contributors/blob/main/CONTRIBUTING.md) for more information on the types of contributions we :heart: and instructions.

We :heart: our community and take great care to ensure it is fun, safe and rewarding. Please review our [Code of Conduct](https://github.com/githubtraining/community-contributors/blob/master/CODE_OF_CONDUCT.md) for community expectations and guidelines for reporting concerns.
We :heart: our community and take great care to ensure it is fun, safe and rewarding. Please review our [Code of Conduct](https://github.com/githubtraining/community-contributors/blob/main/CODE_OF_CONDUCT.md) for community expectations and guidelines for reporting concerns.

## License

Expand Down
14 changes: 7 additions & 7 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ before:
store:
repositoryUrl: '{{ payload.repository.html_url }}'
actionsUrl: '{{ payload.repository.html_url }}/actions'
workflowEditUrl: '{{ payload.repository.html_url }}/edit/master/.github/workflows/my-workflow.yml'
workflowEditUrl: '{{ payload.repository.html_url }}/edit/main/.github/workflows/my-workflow.yml'
branchSettingsUrl: '{{ payload.repository.html_url }}/settings/branches'
- type: createProjectBoard
name: Learning Lab Project Board
Expand All @@ -62,7 +62,7 @@ before:
welcomeIssueUrl: "%result.data.html_url%"
welcomeIssueNumber: "%result.data.number%"
data:
quicklink: "{{ store.repositoryUrl }}/new/master?filename=.github/workflows/my-workflow.yml"
quicklink: "{{ store.repositoryUrl }}/new/main?filename=.github/workflows/my-workflow.yml"
actionsUrl: "{{ store.repositoryUrl }}/actions/new"
comments:
- 00_explain-gh-script.md
Expand Down Expand Up @@ -183,7 +183,7 @@ steps:
issue: "%store.secondIssueNumber%"
data:
columnID: "%store.columnID%"
quicklink: "%payload.repository.html_url%/edit/master/.github/workflows/my-workflow.yml"
quicklink: "%payload.repository.html_url%/edit/main/.github/workflows/my-workflow.yml"
# new pull request
- title: Modify your workflow file
description: Create a pull request to add changes to your workflow
Expand Down Expand Up @@ -237,7 +237,7 @@ steps:
data:
actionsUrl: "%payload.repository.html_url%/actions"

- title: Merge the updated workflow into the master branch
- title: Merge the updated workflow into the main branch
description: Make the workflow available for use on the repository
event: pull_request.closed
link: "{{ store.secondPullUrl }}"
Expand Down Expand Up @@ -303,7 +303,7 @@ steps:
listProj: "%actions.projectBoard.data%"
listCol: "%actions.listColumns.data%"
columnID: "%actions.listColumns.data.0.id%"
quicklink: "%payload.repository.html_url%/edit/master/.github/workflows/my-workflow.yml"
quicklink: "%payload.repository.html_url%/edit/main/.github/workflows/my-workflow.yml"

- title: Create better comments
description: Use a templated repsonse as the comment body
Expand Down Expand Up @@ -358,7 +358,7 @@ steps:
event: APPROVE

- title: Merge the updated workflow
description: Merge the worklow to the master branch
description: Merge the worklow to the main branch
event: pull_request.closed
link: "{{store.thirdPullUrl}}"
actions:
Expand Down Expand Up @@ -393,7 +393,7 @@ steps:
1. Edit your [workflow file]( {{ store.workflowEditUrl }}) and look for errors in the linter built into the browser.
1. Look for the [workflow trigger](https://help.github.com/en/actions/reference/events-that-trigger-workflows) and ensure you are performing an action that triggers that workflow.

If you need to make changes to your code, remove the [master branch protection]({{ store.branchSettingsUrl }}) and merge your changes into the `master` branch.
If you need to make changes to your code, remove the [main branch protection]({{ store.branchSettingsUrl }}) and merge your changes into the `main` branch.
</details>

---
Expand Down
2 changes: 1 addition & 1 deletion responses/00_explain-gh-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Again, that's not too hard at all. Now let's do the same thing, only using the G
repo: github.context.repo.repo,
owner: github.context.repo.owner,
head: github.context.ref,
base: "master",
base: "main",
title: "from my action",
body: "## I totally used GitHub Script to pull this off 🔥"
})
Expand Down
2 changes: 1 addition & 1 deletion responses/00_octokit-comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Anything you can do with Octokit can be accomplished with GitHub Script 🎉!

_You may have noticed that when using GitHub Script the method call starts with `github` and not `octokit`. This is because GitHub Script provides you with a pre-authenticated octokit/rest.js client stored in a variable named `github`._

_`context` is a reference to an object containing the [context of the current workflow run](https://github.com/actions/toolkit/blob/master/packages/github/src/context.ts)_
_`context` is a reference to an object containing the [context of the current workflow run](https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts)_
2 changes: 1 addition & 1 deletion responses/02_workflow-triggered.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Try the following troubleshooting steps:
1. Edit your [workflow file]( {{ store.workflowEditUrl }}) and look for errors in the linter built into the browser.
1. Look for the [workflow trigger](https://help.github.com/en/actions/reference/events-that-trigger-workflows) and ensure you are performing an action that triggers that workflow.

If you need to make changes to your code, remove the [master branch protection]({{ store.branchSettingsUrl }}) and merge your changes into the `master` branch.
If you need to make changes to your code, remove the [main branch protection]({{ store.branchSettingsUrl }}) and merge your changes into the `main` branch.
</details>

---
Expand Down
2 changes: 1 addition & 1 deletion responses/05_workflow-triggered.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Try the following troubleshooting steps:
1. Edit your [workflow file]( {{ store.workflowEditUrl }}) and look for errors in the linter built into the browser.
1. Look for the [workflow trigger](https://help.github.com/en/actions/reference/events-that-trigger-workflows) and ensure you are performing an action that triggers that workflow.

If you need to make changes to your code, remove the [master branch protection]({{ store.branchSettingsUrl }}) and merge your changes into the `master` branch.
If you need to make changes to your code, remove the [main branch protection]({{ store.branchSettingsUrl }}) and merge your changes into the `main` branch.
</details>

---
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy