-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/go_modules/github.com/moby/buildk…
…it-0.13.0-beta1
- Loading branch information
Showing
4 changed files
with
44 additions
and
4 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,26 @@ | ||
name: Check licenses | ||
on: | ||
push: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version-file: go.mod | ||
cache: true | ||
- name: Install go-licenses | ||
run: go install github.com/google/[email protected] | ||
- name: Check licenses | ||
run: | | ||
go-licenses check ./... \ | ||
--ignore github.com/xi2/xz,golang.org/x/sys/unix # https://github.com/xi2/xz/blob/master/LICENSE |
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 |
---|---|---|
|
@@ -95,7 +95,7 @@ Unless the issue specifically mentions a branch, please create your feature bran | |
|
||
For example: | ||
|
||
``` | ||
```bash | ||
# Make sure you have the most recent changes to main | ||
git checkout main | ||
git pull | ||
|
@@ -177,7 +177,7 @@ have the right to contribute the code you are submitting to the project. | |
|
||
You sign-off by adding the following to your commit messages: | ||
|
||
``` | ||
```bash | ||
Author: Your Name <[email protected]> | ||
Date: Thu Feb 2 11:41:15 2018 -0800 | ||
|
||
|
@@ -191,12 +191,16 @@ be rejected by the automated DCO check. | |
|
||
Git has a `-s` command line option to do this automatically: | ||
|
||
git commit -s -m 'This is my commit message' | ||
``` | ||
git commit -s -m 'This is my commit message' | ||
``` | ||
|
||
If you forgot to do this and have not yet pushed your changes to the remote | ||
repository, you can amend your commit with the sign-off by running | ||
|
||
git commit --amend -s | ||
``` | ||
git commit --amend -s | ||
``` | ||
|
||
## The life of a pull request | ||
|
||
|
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
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