Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create devcontainer.json #2415

Open
wants to merge 1,206 commits into
base: updae_azure_python_cache
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1206 commits
Select commit Hold shift + click to select a range
89d867e
Fix code-scanning filtering for relative paths
simon-engledew Dec 13, 2022
dcac13e
Merge pull request #1858 from actions/simon-engledew/folder-fix
simon-engledew Dec 13, 2022
af17d71
Merge branch 'main' into patch-1
Phantsure Dec 13, 2022
babc52e
Merge branch 'main' into soos-dast-update
SOOS-JAlvarez Dec 13, 2022
1006a37
linter
SOOS-JAlvarez Dec 13, 2022
970ed25
Merge pull request #1853 from SOOS-JAlvarez/soos-dast-update
Phantsure Dec 13, 2022
a2fbfc4
Update lint.yaml
Phantsure Dec 13, 2022
c363441
Merge branch 'main' into patch-1
Phantsure Dec 13, 2022
ee36d0c
Merge pull request #1851 from coadaflorin/patch-1
Phantsure Dec 13, 2022
ef331a6
Update lint.yaml
Phantsure Dec 13, 2022
09f1d3b
Merge branch 'main' into phantsure/lint-fix
Phantsure Dec 13, 2022
9877123
Merge pull request #1844 from actions/phantsure/lint-fix
Phantsure Dec 13, 2022
95cee2a
Add Kotlin to CodeQL supported languages.
chrisgavin Dec 14, 2022
50c4e6f
Fix and improve Hugo starter action
jmooring Dec 12, 2022
68aed0e
Merge pull request #1863 from actions/codeql-kotlin-support
chrisgavin Dec 14, 2022
79f135d
Merge branch 'main' into fix/hugo-download-url
yoannchaudet Dec 14, 2022
5276b30
Merge pull request #1855 from jmooring/fix/hugo-download-url
yoannchaudet Dec 14, 2022
0a33ad9
Merge branch 'main' into main
Phantsure Dec 16, 2022
4de66f3
Merge pull request #1780 from patelchandni/main
Phantsure Dec 16, 2022
d248c34
Fix pre-commit lints (#1877)
SamMorrowDrums Dec 20, 2022
65ce1d1
Update all pinned versions of `ruby/setup-ruby` to latest (#1869)
mattxwang Dec 20, 2022
2d6e0ed
Bump actions/stale from 6 to 7
dependabot[bot] Dec 26, 2022
df35718
Merge pull request #1881 from actions/dependabot/github_actions/actio…
Phantsure Dec 30, 2022
28a47a7
Add quotes to python version (#1878)
Phantsure Jan 3, 2023
f95dae1
Update SLSA generators to v1.4.0 (#1884)
mihaimaruseac Jan 3, 2023
9f245d9
Update 'Scorecards' occurrences to 'Scorecard' (#1889)
gabibguti Jan 3, 2023
a3c3cf2
Added Bandit starter workflow and properties file (#1859)
aegilops Jan 12, 2023
9151316
Update all Pages starter workflows to use actions/configure-pages@v3
JamesMGreene Jan 18, 2023
96f31da
Try to fix lint error (#1914)
bishal-pdMSFT Jan 23, 2023
17dc1d5
Merge branch 'main' into pages/config-v3
Phantsure Jan 23, 2023
8933c0e
Update AKS Starter Workflows to Use Kubelogin (#1911)
jaiveerk Jan 23, 2023
80edff7
Merge branch 'main' into pages/config-v3
Phantsure Jan 23, 2023
d92e1f8
Correct indentation of "run" example
rneatherway Jan 23, 2023
b232592
Merge pull request #1916 from actions/rneatherway-patch-1
rneatherway Jan 23, 2023
42fc277
Merge branch 'main' into pages/config-v3
JamesMGreene Jan 26, 2023
9aea24f
Merge pull request #1912 from actions/pages/config-v3
JamesMGreene Jan 26, 2023
63bb49f
Update lint.yaml (#1915)
Phantsure Jan 26, 2023
f35be5c
icon: refresh psalm logo
eroullit Jan 27, 2023
ac13a84
ci: remove trailing whitespaces
eroullit Jan 27, 2023
f077099
ci: restrict starter workflow permissions
eroullit Jan 27, 2023
3a818c4
ci: bump github actions version
eroullit Jan 27, 2023
a248253
Add Jscrambler Code Integrity starter workflow (#1893)
vitorveiga Jan 31, 2023
ea28b60
Use updated Azure logo (#1922)
dylanatsmith Jan 31, 2023
c26da37
adding credo workflow
ElizabethBarrord Feb 2, 2023
dd99cc0
Frogbot update (#1925)
omerzi Feb 8, 2023
5343fe6
Change event to pull_request_target (#1930)
panticmilos Feb 10, 2023
d31bcb9
fix update cosign version on docker-publish.yml (#1917)
Ouvill Feb 10, 2023
62569bf
Add defender for devops workflow (#1940)
tjsingh85 Feb 15, 2023
10f6091
Update scorecard.yml with latest releases (#1944)
ChrisCarini Feb 16, 2023
1d039e1
fixed typo (#1942)
tjsingh85 Feb 21, 2023
77bc6e8
add credo properties
ElizabethBarrord Feb 22, 2023
c7f44d7
Merge branch 'main' into add-credo-workflow
ElizabethBarrord Feb 22, 2023
44ca9a5
Replace deprecated command with environment file
jongwooo Feb 27, 2023
da484b4
Update apisec-scan.yml (#1898)
SyedsImran Mar 4, 2023
02af783
Addition of snyk-security workflow to enable the Snyk platform from a…
EricFernandezSnyk Mar 7, 2023
1375dc0
Update comment for third party action usage (#1960)
Phantsure Mar 7, 2023
f5cfb3e
Update code-scanning/credo.yml
ElizabethBarrord Mar 7, 2023
07c7206
adding commit sha to for action
ElizabethBarrord Mar 7, 2023
9973a07
Merge branch 'main' into mdbook
tcbyrd Mar 9, 2023
71fa2b4
Merge pull request #1677 from Decodetalkers/mdbook
tcbyrd Mar 9, 2023
19a9f5d
Add runner size docs
felickz Mar 9, 2023
4813d8a
Trim whitespace on pages/mdbook.yml
TooManyBees Mar 9, 2023
73ca958
Merge pull request #1974 from actions/pages/trim-whitespace
TooManyBees Mar 9, 2023
add94e9
Update mdbook.properties.json
tcbyrd Mar 9, 2023
d9096dc
Merge pull request #1975 from actions/mdbook-style
tcbyrd Mar 10, 2023
39018ec
Update casing of mdBook within copy in mdbook.yml
JamesMGreene Mar 10, 2023
9ab053c
Add workflow for Azure Web App with Gradle (#1955)
Flanker32 Mar 10, 2023
e6e0ebd
Merge branch 'main' into mdBook-casing-part-2
JamesMGreene Mar 10, 2023
001b284
Merge pull request #1977 from actions/mdBook-casing-part-2
JamesMGreene Mar 10, 2023
e46e854
Update jekyll workflow to use ruby 3.1 (#1969)
ntkme Mar 13, 2023
01e3f8c
Merge branch 'main' into patch-2
Phantsure Mar 13, 2023
c1b76c4
Frogbot update (#1980)
omerzi Mar 13, 2023
6e49802
Update Jscrambler logo (#1964)
luiscubal Mar 13, 2023
ed18ec1
Update mdbook.svg
tcbyrd Mar 14, 2023
da4f851
Update mdbook.yml, primarily to update to configure-pages@v3
JamesMGreene Mar 14, 2023
db26d12
Update concurrency.cancel-in-progress to false for all Pages starter …
JamesMGreene Mar 14, 2023
ee94279
Merge branch 'main' into chore/replace-deprecated-command-with-enviro…
JamesMGreene Mar 14, 2023
a2f0840
Merge pull request #1958 from jongwooo/chore/replace-deprecated-comma…
JamesMGreene Mar 14, 2023
6c4877f
Merge branch 'main' into mdbook-icon-style
JamesMGreene Mar 14, 2023
8f7711a
Merge pull request #1982 from actions/mdbook-icon-style
JamesMGreene Mar 14, 2023
1fe252d
Merge branch 'main' into mdbook-revisions
JamesMGreene Mar 14, 2023
7116ef2
Merge pull request #1983 from actions/mdbook-revisions
JamesMGreene Mar 14, 2023
e1b880e
Merge branch 'main' into pages-concurrency-fix
JamesMGreene Mar 14, 2023
b4e97ff
Merge pull request #1984 from actions/pages-concurrency-fix
JamesMGreene Mar 14, 2023
20496eb
Add workflow for Azure Function App with Gradle (#1963)
Flanker32 Mar 16, 2023
f31b00f
Update all Pages starter workflows to use actions/deploy-pages@v2
JamesMGreene Mar 21, 2023
fc5ffa2
removed whitespace
ElizabethBarrord Mar 24, 2023
dda2aa5
Merge branch 'main' into add-credo-workflow
ElizabethBarrord Mar 24, 2023
b294ad2
chore: fix package(r) manager typo
JoshuaKGoldberg Mar 27, 2023
d822156
Merge pull request #1991 from actions/deploy-pages-v2
JamesMGreene Mar 27, 2023
5f66d94
Merge branch 'main' into packager-manager-typo
JamesMGreene Mar 27, 2023
9e75fa6
Merge pull request #1994 from JoshuaKGoldberg/packager-manager-typo
JamesMGreene Mar 27, 2023
eeb9248
Update ruby/setup-ruby for CVE-2023-28755 and CVE-2023-28756
ntkme Apr 4, 2023
5f2e555
Merge pull request #2000 from ntkme/update-setup-ruby
JamesMGreene Apr 6, 2023
b9b8227
Add Swift to the list of CodeQL-supported languages
issyl0 Apr 11, 2023
6a1457d
Update manual.yml
marcospgp Apr 14, 2023
73f69c4
CodeQL: Run on macOS by default if the target language is Swift
adityasharad Apr 17, 2023
1c781c4
Add data type to workflow_dispatch inputs
JamesMGreene Apr 18, 2023
f930c61
Merge pull request #2013 from marcospgp/patch-1
JamesMGreene Apr 18, 2023
744aa39
Update to v2.4.2 of gradle/gradle-build-action
bigdaz Apr 18, 2023
5f39b23
Merge branch 'main' into patch-2
marcogario Apr 18, 2023
7493daf
Merge pull request #2018 from adityasharad/patch-2
marcogario Apr 18, 2023
d4482bb
Bump actions/stale from 7 to 8
dependabot[bot] Apr 18, 2023
d397c60
Merge pull request #1998 from actions/dependabot/github_actions/actio…
JamesMGreene Apr 18, 2023
f6b2d35
Bump peter-evans/close-issue from 2 to 3
dependabot[bot] Apr 18, 2023
d841aff
corrects the syntax for so that the array is inline
tblanarik Apr 24, 2023
87fbe43
Merge pull request #2027 from tblanarik/tblanarik/fix-starter-workflo…
elbrenn Apr 25, 2023
2f530b0
Update elixir.yml
stepchud Apr 26, 2023
feb7e20
Update maven.yml
jcook36605 Apr 28, 2023
4c95f1b
Update denoland/setup-deno workflow
crowlKats May 3, 2023
ae3f875
Bumps python-package versions
Zonespace27 May 16, 2023
b542410
use intermediate environment variables to avoid risks of script injec…
developer-guy May 15, 2023
b015c84
CodeQL: Reduce job timeout to 2h if the target language is Swift
adityasharad May 22, 2023
5aa237a
add descriptive name to trivy starter workflow
felickz May 30, 2023
02d32cc
ubuntu runner upgrade to vNext
felickz May 30, 2023
ee518ae
Update CODEOWNERS
elbrenn May 31, 2023
8d2069c
Merge pull request #2071 from actions/elbrenn/update-codeowners
elbrenn May 31, 2023
3a1c327
Merge branch 'main' into patch-3
elbrenn May 31, 2023
6ad4c76
Merge pull request #2056 from adityasharad/patch-3
elbrenn May 31, 2023
5eb502a
Merge branch 'main' into codeql-add-swift
issyl0 Jun 2, 2023
7b8ec19
Merge pull request #2012 from actions/codeql-add-swift
issyl0 Jun 2, 2023
437d407
add Endor Labs
Jun 6, 2023
43f7851
Change to specified version
IAmATeaPot418 Jun 7, 2023
ea40b7a
Update to commit sha
IAmATeaPot418 Jun 7, 2023
64aaaf7
Merge branch 'actions:main' into add-credo-workflow
ElizabethBarrord Jun 7, 2023
bb9bbc3
add line at eof and adding icon
ElizabethBarrord Jun 7, 2023
82f55d0
Bump DR to take advantage of latest features
felickz Jun 8, 2023
47e25f9
CodeQL: Update autobuild comment
henrymercer Jun 12, 2023
d307831
Merge pull request #1927 from ElizabethBarrord/add-credo-workflow
jtamsut Jun 12, 2023
fae93df
Update endorlabs.properties.json
IAmATeaPot418 Jun 13, 2023
9988e13
Update endorlabs.yml
IAmATeaPot418 Jun 13, 2023
018bc70
Update endorlabs.yml
IAmATeaPot418 Jun 13, 2023
fef79f7
Merge branch 'main' into patch-1
jtamsut Jun 13, 2023
455606d
Merge pull request #2091 from henrymercer/patch-1
jtamsut Jun 13, 2023
10d0b40
Merge branch 'main' into js/endorlabs-update
IAmATeaPot418 Jun 14, 2023
768f356
Merge branch 'main' into psalm-starter-workflow
jtamsut Jun 14, 2023
d8c5f8e
Merge pull request #1918 from eroullit/psalm-starter-workflow
jtamsut Jun 15, 2023
c6e2cb8
Add comments header
IAmATeaPot418 Jun 15, 2023
6da5a65
Update case and spacing
IAmATeaPot418 Jun 15, 2023
ebf081c
Merge branch 'main' into js/endorlabs-update
IAmATeaPot418 Jun 15, 2023
03ce4e0
Fix Linter Issues
IAmATeaPot418 Jun 15, 2023
0582bb6
Merge pull request #2082 from IAmATeaPot418/js/endorlabs-update
jtamsut Jun 15, 2023
2402be0
Update code-scanning/codeql.yml
felickz Jun 15, 2023
fcf8a26
bump go version and use single quotes
dmitry-shibanov Jun 19, 2023
c6191f3
Update Hugo version and switch to Dart Sass
jmooring Jun 21, 2023
c4caf17
Update latest commit
EyalDelarea Jul 3, 2023
0c238ae
Update all Pages starter workflows to use upload-pages-artifact@v2
JamesMGreene Jul 11, 2023
3569304
move gem workflow to ruby/setup-ruby, same as ruby
some-natalie Jul 12, 2023
25b15b6
Merge pull request #2111 from actions/pages-upa-v2
JamesMGreene Jul 12, 2023
ca7dd14
Merge branch 'main' into fix-gem-push
JamesMGreene Jul 12, 2023
e922ce0
Merge pull request #2114 from some-natalie/fix-gem-push
JamesMGreene Jul 12, 2023
4aa5ce6
Merge branch 'main' into bump-hugo-and-dart-sass-versions
JamesMGreene Jul 13, 2023
5fd3f3f
Merge pull request #2098 from jmooring/bump-hugo-and-dart-sass-versions
JamesMGreene Jul 13, 2023
830d0c7
Add comment containing friendly version number
JamesMGreene Jul 13, 2023
8d23f21
Merge branch 'main' into patch-1
JamesMGreene Jul 13, 2023
d19bb9f
Merge pull request #2040 from crowlKats/patch-1
JamesMGreene Jul 13, 2023
d0ceca4
Compress the comment
JamesMGreene Jul 13, 2023
bbb14be
Merge branch 'main' into patch-2
JamesMGreene Jul 13, 2023
ec351ca
Delete trailing whitespace
JamesMGreene Jul 13, 2023
b310e3e
Merge pull request #1973 from felickz/patch-2
JamesMGreene Jul 13, 2023
346a4ff
Merge branch 'main' into v-dmshib/bump-go-1.20
JamesMGreene Jul 13, 2023
7b74feb
Merge pull request #2096 from dmitry-shibanov/v-dmshib/bump-go-1.20
JamesMGreene Jul 13, 2023
f186f33
Merge branch 'main' into patch-4
JamesMGreene Jul 13, 2023
4e2be74
Merge pull request #2087 from felickz/patch-4
JamesMGreene Jul 13, 2023
a07603e
Update to latest cosign versions
JamesMGreene Jul 13, 2023
749b793
Merge branch 'main' into feature/avoid-script-injection
JamesMGreene Jul 13, 2023
e1e05e8
Merge pull request #2048 from developer-guy/feature/avoid-script-inje…
JamesMGreene Jul 13, 2023
79643ec
Merge branch 'main' into dependabot/github_actions/peter-evans/close-…
JamesMGreene Jul 13, 2023
7fd5daf
Merge pull request #2010 from actions/dependabot/github_actions/peter…
JamesMGreene Jul 13, 2023
d53deb5
Merge branch 'main' into main
JamesMGreene Jul 13, 2023
cbe6296
Update ci/elixir.yml
JamesMGreene Jul 13, 2023
49efc3d
Update ci/elixir.yml
JamesMGreene Jul 13, 2023
eb6b335
Merge pull request #2033 from stepchud/main
JamesMGreene Jul 13, 2023
72d4ace
Bumping version to latest
JamesMGreene Jul 13, 2023
63e6ae5
Merge branch 'main' into main
JamesMGreene Jul 13, 2023
a401d62
Merge pull request #2019 from bigdaz/main
JamesMGreene Jul 13, 2023
016d708
Merge branch 'main' into patch-1
JamesMGreene Jul 13, 2023
1f534a4
Merge pull request #2037 from jcook36605/patch-1
JamesMGreene Jul 13, 2023
ef768db
Merge branch 'main' into py-bump
JamesMGreene Jul 13, 2023
b57996b
Merge pull request #2050 from Zonespace27/py-bump
JamesMGreene Jul 13, 2023
257b26f
Merge branch 'main' into patch-3
JamesMGreene Jul 13, 2023
30f419f
Merge pull request #2067 from felickz/patch-3
JamesMGreene Jul 13, 2023
652258c
Bump frogbot to v2.10.0
JamesMGreene Jul 13, 2023
0720e7f
Merge branch 'main' into main
JamesMGreene Jul 13, 2023
f3c5d79
Merge pull request #2103 from EyalDelarea/main
JamesMGreene Jul 13, 2023
9744b8f
feat: add Bearer code scanning option
cfabianski Jul 17, 2023
357ab69
Split cmake starter workflow single/multi plaform
jgoshi Aug 1, 2023
12e30f5
Address a few comments on the PR
jgoshi Aug 3, 2023
3445561
Grammar changes
jgoshi Aug 3, 2023
147d565
Merge pull request #2120 from cfabianski/add-bearer-to-code-scanning
jtamsut Aug 4, 2023
8582d8d
reduce icon size so we are faster
marcosdotps Aug 4, 2023
ed1d73e
Respond to PR comments
jgoshi Aug 4, 2023
d7abf7d
Fix a comment
jgoshi Aug 5, 2023
2bb20df
Merge pull request #2136 from marcosdotps/reduce-icon-size
lrotschy Aug 7, 2023
d7000e0
Fix errors found with CI validation checks.
jgoshi Aug 10, 2023
836c590
Merge branch 'main' into dev/jgoshi/cmakeStarterWorkflowUpdates
jtamsut Aug 11, 2023
1c61cfc
Merge pull request #2133 from jgoshi/dev/jgoshi/cmakeStarterWorkflowU…
jtamsut Aug 11, 2023
90c598c
update docker actions to latest stable
crazy-max Jul 28, 2023
1dc689b
Merge pull request #2130 from crazy-max/update-docker-actions
JamesMGreene Sep 13, 2023
61f8558
Update codeql.yml
Daverlo Oct 3, 2023
b1df8a5
Merge pull request #2177 from actions/Daverlo-patch-1
Daverlo Oct 3, 2023
c6c4452
Update to latest audit code version (#2209)
isamauny Nov 13, 2023
16ea338
fix: bearer does not upload sarif report (#2178)
gotbadger Nov 22, 2023
d4b398c
Include protected branches in PR analyses
marcogario Dec 4, 2023
bd7e79e
Merge pull request #2243 from actions/marcogario/analyze_protected_br…
marcogario Dec 4, 2023
a0a25cc
Pages: Update core actions usage and target Node 20
JamesMGreene Dec 4, 2023
036cf72
Update mdBook version
JamesMGreene Dec 4, 2023
b90d989
Update setup-ruby and ruby-version for Pages Jekyll workflow
JamesMGreene Dec 4, 2023
78e2eb1
Update to latest Hugo version
JamesMGreene Dec 4, 2023
e694828
Revert to Ruby 3.1 due to incompatibility issues with google-protobuf
JamesMGreene Dec 4, 2023
71ac18e
Merge pull request #2244 from actions/pages-actions-updates
JamesMGreene Dec 4, 2023
3cb56ae
update codeql.yml to reference node20 actions
nickfyson Dec 14, 2023
a094118
Merge pull request #2257 from nickfyson/patch-2
orhantoy Dec 14, 2023
4f4ef4e
Synopsys Action's starter workflow (#2234)
lsynopsys Dec 22, 2023
9ca802a
Pages: Update all workflows to use Artifacts V4
JamesMGreene Dec 22, 2023
c31fe3d
Merge pull request #2266 from actions/pages/use-artifacts-v4
JamesMGreene Dec 22, 2023
42326d0
Clarify permisions on codeql-action starter
aeisenberg Jan 9, 2024
4d89c34
Merge pull request #2275 from aeisenberg/patch-1
orhantoy Jan 10, 2024
11f5772
Update dependency-review.yml
ctcampbell Dec 1, 2023
aa49bd3
Tidy up comments
ctcampbell Dec 11, 2023
0239269
Update to match standards in actions/starter-workflows/.../pull_reque…
ctcampbell Dec 11, 2023
0d8fa6f
Add $protected-branches to pull_request target
ctcampbell Dec 11, 2023
f997077
Update dependency-review-action to v4
ctcampbell Jan 29, 2024
a6ab3d3
Update dependency-review.yml
ctcampbell Jan 29, 2024
e67682c
Add perms for comment-summary-in-pr
ctcampbell Jan 29, 2024
1d205de
Update CODEOWNERS
jonjanego Jan 29, 2024
7a5fb79
Update CODEOWNERS
jonjanego Jan 29, 2024
170651f
Merge pull request #2287 from actions/jonjanego-patch-1
cdb Jan 29, 2024
fc7f47d
Update all Pages workflows to actions/cache@v4 for node20 compliance
JamesMGreene Jan 29, 2024
196126a
Merge pull request #2288 from actions/pages-cache-v4
JamesMGreene Jan 29, 2024
c969459
Merge branch 'main' into patch-1
jonjanego Jan 29, 2024
cea0111
Update dependency-review.yml
jonjanego Jan 29, 2024
0753b8d
Merge pull request #2242 from ctcampbell/patch-1
jonjanego Jan 29, 2024
2d30c1b
Update for `gradle/[email protected]` release
bigdaz Jan 31, 2024
b0b8840
Improve documentation in starter workflow
bigdaz Jan 31, 2024
51848d8
Remove trailing whitespace
bigdaz Jan 31, 2024
6c78198
Fix typo
bigdaz Jan 31, 2024
aecd7f3
Merge pull request #2290 from bigdaz/main
jonjanego Jan 31, 2024
6e4aae9
soos-dast-scan.yml update (#2240)
SOOS-GSteen Feb 6, 2024
ba9d378
Changing default behavior to include comment summary in PR
jonjanego Feb 6, 2024
8aab15d
Update code-scanning/dependency-review.yml
jonjanego Feb 7, 2024
c4f5db6
Code Scanning shouldn't own `dependency-review.yml`
sampart Feb 7, 2024
da7a61e
Merge pull request #2297 from actions/jonjanego-patch-1
jonjanego Feb 7, 2024
813dc76
Merge branch 'main' into dependency-review-ownership
sampart Feb 9, 2024
2b5d980
Merge pull request #2299 from actions/dependency-review-ownership
sampart Feb 9, 2024
d303234
Update for `gradle/[email protected]` release
bigdaz Feb 13, 2024
be55258
Merge pull request #2305 from bigdaz/main
jonjanego Feb 14, 2024
0327789
tfsec latest v0.1.4 (#2318)
felickz Mar 6, 2024
3fb9f82
Updating dotnet CI starter workflows (#2333)
timheuer Mar 12, 2024
931ae89
Create devcontainer.json
Bgcvbb May 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
}
}
17 changes: 17 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Set to true to add reviewers to pull requests
addReviewers: true

# Set to true to add assignees to pull requests
addAssignees: false

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers:
- phantsure
- anuragc617
- tiwarishub
- vsvipul
- bishal-pdmsft

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 1
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
5 changes: 3 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ It is not:
- [ ] Should use sentence case for the names of workflows and steps (for example, "Run tests").
- [ ] Should be named _only_ by the name of the language or platform (for example, "Go", not "Go CI" or "Go Build").
- [ ] Should include comments in the workflow for any parts that are not obvious or could use clarification.
- [ ] Should specify least privileged [permissions](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token) for `GITHUB_TOKEN` so that the workflow runs successfully.

**For _CI_ workflows, the workflow:**

Expand All @@ -37,10 +38,10 @@ It is not:

**For _Code Scanning_ workflows, the workflow:**

- [ ] Should be preserved under [the `code-scanning` directory](https://github.com/actions/starter-workflows/tree/main/ci).
- [ ] Should be preserved under [the `code-scanning` directory](https://github.com/actions/starter-workflows/tree/main/code-scanning).
- [ ] Should include a matching `code-scanning/properties/*.properties.json` file (for example, [`code-scanning/properties/codeql.properties.json`](https://github.com/actions/starter-workflows/blob/main/code-scanning/properties/codeql.properties.json)), with properties set as follows:
- [ ] `name`: Name of the Code Scanning integration.
- [ ] `organization`: Name of the organization producing the Code Scanning integration.
- [ ] `creator`: Name of the organization/user producing the Code Scanning integration.
- [ ] `description`: Short description of the Code Scanning integration.
- [ ] `categories`: Array of languages supported by the Code Scanning integration.
- [ ] `iconName`: Name of the SVG logo representing the Code Scanning integration. This SVG logo must be present in [the `icons` directory](https://github.com/actions/starter-workflows/tree/main/icons).
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/auto-assign-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Issue assignment

on:
issues:
types: [opened]

jobs:
auto-assign:
runs-on: ubuntu-latest
steps:
- name: 'Auto-assign issue'
uses: pozil/[email protected]
with:
assignees: phantsure,tiwarishub,anuragc617,vsvipul,bishal-pdmsft
numOfAssignee: 1
10 changes: 10 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: 'Auto Assign'
on:
pull_request_target:
types: [opened, ready_for_review]

jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/[email protected]
2 changes: 1 addition & 1 deletion .github/workflows/label-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Close Issue
uses: peter-evans/close-issue@v1
uses: peter-evans/close-issue@v3
if: contains(github.event.issue.labels.*.name, 'feature')
with:
comment: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Close Issue
uses: peter-evans/close-issue@v1
uses: peter-evans/close-issue@v3
if: contains(github.event.issue.labels.*.name, 'support')
with:
comment: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
31 changes: 31 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Lint

on:
pull_request:
branches:
- main

jobs:

pre-commit:
name: pre-commit
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Cache pre-commit
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}

- name: Install pre-commit
run: pip3 install pre-commit

- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --color always
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/stale@v3
- uses: actions/stale@v8
with:
stale-issue-message: 'This issue has become stale and will be closed automatically within a period of time. Sorry about that.'
stale-pr-message: 'This pull request has become stale and will be closed automatically within a period of time. Sorry about that.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,24 @@ name: Sync workflows for GHES

on:
push:
branches:
- main
branches: [ main ]

jobs:
sync:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
git config user.email "[email protected]"
git config user.name "GitHub Actions"
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '12'
node-version: '16'
cache: 'npm'
cache-dependency-path: script/sync-ghes/package-lock.json
- name: Check starter workflows for GHES compat
run: |
npm ci
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/validate-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ jobs:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: "12"
node-version: '16'
cache: 'npm'
cache-dependency-path: script/validate-data/package-lock.json

- name: Validate workflows
run: |
Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
files: (automation/|ci/|code-scanning/|deployments/|pages/).*(yaml|yml|json)$
6 changes: 4 additions & 2 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* @actions/starter-workflows
* @actions/actions-workflow-development-reviewers

/code-scanning/ @actions/advanced-security-code-scanning
/code-scanning/ @actions/advanced-security-code-scanning @actions/actions-workflow-development-reviewers @actions/advanced-security-dependency-graph
/code-scanning/dependency-review.yml @actions/actions-workflow-development-reviewers @actions/advanced-security-dependency-graph
/pages/ @actions/pages @actions/actions-workflow-development-reviewers
33 changes: 28 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ These are the workflow files for helping people get started with GitHub Actions.

### Directory structure

* [ci](ci): solutions for Continuous Integration workflows.
* [deployments](deployments): solutions for Deployment workflows.
* [automation](automation): solutions for automating workflows.
* [code-scanning](code-scanning): starter workflows for [Code Scanning](https://github.com/features/security)
* [ci](ci): solutions for Continuous Integration workflows
* [deployments](deployments): solutions for Deployment workflows
* [automation](automation): solutions for automating workflows
* [code-scanning](code-scanning): solutions for [Code Scanning](https://github.com/features/security)
* [pages](pages): solutions for Pages workflows
* [icons](icons): svg icons for the relevant template

Each workflow must be written in YAML and have a `.yml` extension. They also need a corresponding `.properties.json` file that contains extra metadata about the workflow (this is displayed in the GitHub.com UI).
Expand All @@ -28,7 +29,7 @@ For example: `ci/django.yml` and `ci/properties/django.properties.json`.
* `description`: the description shown in onboarding
* `iconName`: the icon name in the relevant folder, for example, `django` should have an icon `icons/django.svg`. Only SVG is supported at this time. Another option is to use [octicon](https://primer.style/octicons/). The format to use an octicon is `octicon <<icon name>>`. Example: `octicon person`
* `creator`: creator of the template shown in onboarding. All the workflow templates from an author will have the same `creator` field.
* `categories`: the categories that it will be shown under. Choose at least one category from the list [here](#categories). Further, choose the categories from the list of languages available [here](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml). When a user views the available templates, those templates that match the same language will feature more prominently.
* `categories`: the categories that it will be shown under. Choose at least one category from the list [here](#categories). Further, choose the categories from the list of languages available [here](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml) and the list of tech stacks available [here](https://github.com/github-starter-workflows/repo-analysis-partner/blob/main/tech_stacks.yml). When a user views the available templates, those templates that match the language and tech stacks will feature more prominently.

### Categories
* continuous-integration
Expand All @@ -40,10 +41,32 @@ For example: `ci/django.yml` and `ci/properties/django.properties.json`.
* monitoring
* Automation
* utilities
* Pages
* Hugo

### Variables
These variables can be placed in the starter workflow and will be substituted as detailed below:

* `$default-branch`: will substitute the branch from the repository, for example `main` and `master`
* `$protected-branches`: will substitute any protected branches from the repository
* `$cron-daily`: will substitute a valid but random time within the day

## How to test templates before publishing

### Disable template for public
The template author adds a `labels` array in the template's `properties.json` file with a label `preview`. This will hide the template from users, unless user uses query parameter `preview=true` in the URL.
Example `properties.json` file:
```json
{
"name": "Node.js",
"description": "Build and test a Node.js project with npm.",
"iconName": "nodejs",
"categories": ["Continuous integration", "JavaScript", "npm", "React", "Angular", "Vue"],
"labels": ["preview"]
}
```

For viewing the templates with `preview` label, provide query parameter `preview=true` to the `new workflow` page URL. Eg. `https://github.com/<owner>/<repo_name>/actions/new?preview=true`.

### Enable template for public
Remove the `labels` array from `properties.json` file to publish the template to public
6 changes: 3 additions & 3 deletions automation/greetings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Greetings

on: [pull_request, issues]
on: [pull_request_target, issues]

jobs:
greeting:
Expand All @@ -12,5 +12,5 @@ jobs:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Message that will be displayed on users first issue'
pr-message: 'Message that will be displayed on users first pull request'
issue-message: "Message that will be displayed on users' first issue"
pr-message: "Message that will be displayed on users' first pull request"
4 changes: 2 additions & 2 deletions automation/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# https://github.com/actions/labeler

name: Labeler
on: [pull_request]
on: [pull_request_target]

jobs:
label:
Expand All @@ -17,6 +17,6 @@ jobs:
pull-requests: write

steps:
- uses: actions/labeler@v2
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
4 changes: 3 additions & 1 deletion automation/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:
default: 'World'
# Input has to be provided for the workflow to run
required: true
# The data type of the input
type: string

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -27,4 +29,4 @@ jobs:
steps:
# Runs a single command using the runners shell
- name: Send greeting
run: echo "Hello ${{ github.event.inputs.name }}"
run: echo "Hello ${{ inputs.name }}"
2 changes: 1 addition & 1 deletion automation/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
pull-requests: write

steps:
- uses: actions/stale@v3
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
Expand Down
4 changes: 2 additions & 2 deletions ci/ada.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up GNAT toolchain
run: >
sudo apt-get update &&
sudo apt-get update &&
sudo apt-get install gnat gprbuild

- name: Build
Expand Down
6 changes: 3 additions & 3 deletions ci/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
Expand Down
8 changes: 4 additions & 4 deletions ci/ant.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This workflow will build a Java project with Ant
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant

name: Java CI

Expand All @@ -15,11 +15,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
distribution: 'temurin'
- name: Build with Ant
run: ant -noinput -buildfile build.xml
2 changes: 1 addition & 1 deletion ci/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# Runs a single command using the runners shell
- name: Run a one-line script
Expand Down
Loading
Loading