Skip to content
Merged
Changes from 3 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6bc69d7
remove mentions of GitHub ONE
mchammer01 Apr 8, 2021
47e5128
Merge branch 'main' into 4169-remove-github-one
mchammer01 Apr 8, 2021
4b36a1e
fix incorrect punctuationW
mchammer01 Apr 8, 2021
bb53099
Merge branch '4169-remove-github-one' of github.com:github/docs-inter…
mchammer01 Apr 8, 2021
634d3d5
remove hardcoded instances
mchammer01 Apr 8, 2021
58189f3
Merge branch 'main' into 4169-remove-github-one
mchammer01 Apr 8, 2021
8c1fd04
removing github insights reusable and references to it per https://gi…
timeyoutakeit Apr 9, 2021
5fe8bd9
Merge branch 'main' into 4169-remove-github-one
timeyoutakeit Apr 9, 2021
bcac786
Merge branch 'main' into 4169-remove-github-one
timeyoutakeit Apr 9, 2021
b1b21fd
removing variable and replacing with term as this is the only referen…
timeyoutakeit Apr 9, 2021
cd1119e
removing github one
timeyoutakeit Apr 9, 2021
e8a65db
hydro: allow grouping of response stats by code
mikesurowiec Apr 10, 2021
d46428d
repo sync
Octomerger Apr 12, 2021
e04ede2
Merge branch 'main' into 4169-remove-github-one
mchammer01 Apr 12, 2021
a59306d
Clarify advice on changes to translations (#18685)
felicitymay Apr 12, 2021
ea31ef4
repo sync
Octomerger Apr 12, 2021
f045337
reinstate variable product name and insights reusable
mchammer01 Apr 12, 2021
a11906e
reinstate old (live) site-policy articles
mchammer01 Apr 12, 2021
6eef0aa
reinstate in original location
mchammer01 Apr 12, 2021
45b79fb
Merge branch 'main' into 4169-remove-github-one
mchammer01 Apr 12, 2021
eb1ab1b
No How We Work automation for github/docs (#18697)
chiedo Apr 12, 2021
4117c67
Merge branch 'main' into 4169-remove-github-one
mchammer01 Apr 12, 2021
e5400a0
Merge pull request #18638 from github/4169-remove-github-one
mchammer01 Apr 12, 2021
ba8aa85
Merge branch 'main' into fix-hydro-event-tags
mikesurowiec Apr 12, 2021
8af652f
Merge pull request #18693 from github/fix-hydro-event-tags
mikesurowiec Apr 12, 2021
504193f
Use official auto-merge for repo-sync PRs (attempt #2) (#18628)
JamesMGreene Apr 12, 2021
35c76c5
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Apr 12, 2021
37cd5e6
repo sync
Octomerger Apr 12, 2021
86cf41e
repo sync
Octomerger Apr 12, 2021
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
10 changes: 5 additions & 5 deletions script/prevent-translation-commits.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ const filenames = execSync('git diff --cached --name-only').toString().trim().sp
const localizedFilenames = filenames.filter(filename => filename.startsWith('translations/'))

if (localizedFilenames.length) {
console.error('\n✋ Uh oh! Detected changes in the /translations directory.')
console.error('\n✋ Uh oh! Detected changes to the following files in the `/translations` directory:')
console.table(localizedFilenames.join('\n'))
console.error('The content in this directory is managed by our Crowdin integration and should not be edited directly in the repo.')
console.error('For more information on how the localization process works, see translations/README.md')
console.error('\nPlease revert your changes to the following files:\n')
console.table(localizedFilenames.join('\n'))
console.error('\nTip #1: You can unstage these changes on the command line using `git restore --staged translations`\n')
console.error('\nTip #2: You can bypass this hook by setting `ALLOW_TRANSLATION_COMMITS=true` in your .env file.`\n')
console.error('\nIf you have accidentally edited these files, you can unstage these changes on the command line using `git restore --staged translations`\n')
console.error('\nIf you are performing a merge from `main`, you should bypass this hook by using ` git commit --no-verify`\n')
console.error('\nIf you need to edit translated files often, you can set `ALLOW_TRANSLATION_COMMITS=true` in your .env file.`\n')
process.exit(1)
}