Compare commits

..

375 Commits

Author SHA1 Message Date
Ana Armas Romero 200b0c34b1 Merge pull request #1254 from actions/move-code-scanning-workflows
Validate Data / validate-data (push) Has been cancelled
Move code scanning workflows
2021-11-23 14:21:15 +01:00
anaarmas 0debae5ec7 fix crunch42 template id so it overrides old template as required 2021-11-23 09:37:32 +01:00
anaarmas 52edf1b580 add a bunch of code scanning workflows 2021-11-19 16:55:27 +01:00
Nick Fyson da223f8a03 Merge pull request #1238 from meme/nowsecure
Add NowSecure starter workflow
2021-11-15 22:23:51 +00:00
Keegan Saunders f61ca9907b Add NowSecure starter workflow 2021-11-15 08:40:01 -05:00
rui 56c93ff752 elixir: refresh dependencies (#1212)
- setup action got renamed into `setup-beam`
- update elixir and erlang versions
2021-11-08 11:14:50 -05:00
rui 1d8891efc2 r: use setup-r@1 and include r@4 for starter (#1169)
* r: use setup-r@1 and include r@4 for starter

Signed-off-by: Rui Chen <rui@chenrui.dev>

* use sha instead of tag for external action

Co-authored-by: Josh Gross <joshmgross@github.com>

Co-authored-by: Josh Gross <joshmgross@github.com>
2021-10-28 11:37:36 -04:00
Andy McKay 93ee3d86f6 Merge pull request #1168 from chenrui333/python-3.10
python: update to use python 3.10
2021-10-28 07:40:41 -07:00
Andy McKay 97d8c1c765 Merge branch 'main' into python-3.10 2021-10-28 07:39:33 -07:00
Nick Fyson 1b52eb3e6f Merge pull request #1160 from abirismyname/adding-mobsf-to-codescanning 2021-10-27 21:38:42 +01:00
Nick Fyson 216dc929eb Merge branch 'main' into adding-mobsf-to-codescanning 2021-10-27 21:34:36 +01:00
David Verdeguer ef1ebb2538 Merge pull request #1180 from actions/daverlo/ruby-beta
Add ruby and update CodeQL workflow
2021-10-27 16:07:51 +02:00
David Verdeguer 440e8daf05 Merge branch 'main' into daverlo/ruby-beta 2021-10-27 16:01:12 +02:00
Marco Gario 0f5b68ee4f Merge pull request #1198 from d-winsor/msvc-typo
Fixed typo in Microsoft C++ Code Analysis workflow.
2021-10-27 10:16:35 +02:00
Daniel Winsor d9dc2c2f72 Update commit SHA 2021-10-26 21:48:19 -07:00
Daniel Winsor 83bdb0fcd6 Fixed typo in workflow that will cause every run to fail 2021-10-26 21:37:36 -07:00
Abir Majumdar ed8c87df74 Update code-scanning/properties/mobsf.properties.json
Co-authored-by: Nick Fyson <nickfyson@github.com>
2021-10-25 21:40:48 -04:00
Abir Majumdar 09b078fd76 Update code-scanning/mobsf.yml
Co-authored-by: Nick Fyson <nickfyson@github.com>
2021-10-25 21:40:31 -04:00
David Verdeguer 4a9a12a099 Update codeql.properties.json 2021-10-22 11:52:12 +02:00
David Verdeguer 3a3f99717d Update codeql.properties.json 2021-10-22 11:40:38 +02:00
David Verdeguer 281a35c5ef Update code-scanning/properties/codeql.properties.json
Co-authored-by: Arthur Baars <arthur@semmle.com>
2021-10-22 11:37:35 +02:00
David Verdeguer dcdce00205 Update codeql.properties.json 2021-10-22 10:54:14 +02:00
Nick Fyson 8a8c5b274c Merge pull request #1183 from actions/nickfyson-patch-1
correct typo in msvc.properties.json
2021-10-22 09:36:46 +01:00
Nick Fyson 149db50d43 correct typo in msvc.properties.json 2021-10-22 09:33:24 +01:00
Nick Fyson c3de16f318 Merge pull request #1181 from d-winsor/msvc-analysis
Microsoft C++ Code Analysis Action
2021-10-22 09:31:29 +01:00
Rui Chen 40f0709bd6 quote the version strings 2021-10-22 01:14:49 -04:00
Daniel Winsor 9fccb15dc6 Updated action to meet guidelines 2021-10-21 16:18:11 -07:00
Daniel Winsor bafed29a86 Add workflow for Microsoft C++ Code Analysis 2021-10-21 14:14:02 -07:00
David Verdeguer 042eac3858 Add ruby and update workflow 2021-10-21 22:11:00 +02:00
Ashwin Sangem e3fc80f30e Revert "Added new templates for 3 clouds."
This reverts commit c765d6316f.
2021-10-21 08:59:43 +00:00
Ashwin Sangem c765d6316f Added new templates for 3 clouds. 2021-10-21 14:27:06 +05:30
Rui Chen e6620ddc5b python: update to use python 3.10
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-10-20 00:02:48 -04:00
Abir Majumdar 6e44c89176 Adhering to pull request guidelines 2021-10-15 08:55:34 -04:00
Abir Majumdar ffef54a02c Adding MobSF starter workflow 2021-10-15 08:37:05 -04:00
Nick Fyson 700743e332 Merge pull request #1153 from yi2020/patch-1
Correct character-case of "c" in Cloudrail
2021-10-12 09:58:03 +01:00
Nick Fyson a857e4e5a6 Merge branch 'main' into patch-1 2021-10-12 09:56:26 +01:00
Sarah Edwards 6b14bf21cb trigger on push instead of release (#1157)
Co-authored-by: Josh Gross <joshmgross@github.com>
2021-10-11 15:53:15 -04:00
Ashwin Sangem ad91ff259d AWS template also used Docker 2021-10-11 14:58:21 +05:30
Yoni Leitersdorf 2e38bc8da2 Correct character-case of "c" in Cloudrail 2021-10-06 12:52:26 -07:00
Nick Fyson 5b659e82b4 Merge pull request #1110 from manuelbcd/main
Sysdig inline scanning
2021-10-06 10:14:48 +01:00
manuelbcd 764ebceaf5 Merge branch 'main' into main 2021-10-05 22:46:19 +02:00
Nick Fyson 122f83ece7 Merge pull request #1152 from actions/nickfyson/fix-fortify
Rename fortify.json to fortify.properties.json
2021-10-05 20:50:47 +01:00
Nick Fyson 6a1dba2d71 Rename fortify.json to fortify.properties.json 2021-10-05 20:44:48 +01:00
Nick Fyson a95943d406 Merge pull request #1090 from fortify/main
Add Fortify on Demand code scanning workflow
2021-10-05 20:24:09 +01:00
manuelbcd d07ff38b96 Merge branch 'main' into main 2021-10-05 15:10:10 +02:00
manuelbcd 3c200bdb21 Switched svg logo (again) for a better fit 2021-10-05 15:09:31 +02:00
manuelbcd b258b33234 Rename sysdig.svg to sysdig-scan.svg 2021-10-05 15:02:00 +02:00
manuelbcd c342a0c6e3 Merge branch 'main' of github.com:manuelbcd/starter-workflows 2021-10-05 10:40:25 +02:00
manuelbcd b55a65157e Changed svg logo 2021-10-05 10:39:56 +02:00
manuelbcd b7d9f15826 Update code-scanning/properties/sysdig-scan.properties.json
Co-authored-by: Nick Fyson <nickfyson@github.com>
2021-10-05 09:30:53 +02:00
manuelbcd 2a1abda503 Update code-scanning/properties/sysdig-scan.properties.json
Co-authored-by: Nick Fyson <nickfyson@github.com>
2021-10-05 09:30:45 +02:00
Aparna Ravindra 85d2a866f0 removing "deployment" templates from sync-ghes (#1127) 2021-10-05 11:22:46 +05:30
Nick Fyson 5d273fbcb3 Merge pull request #1047 from yi2020/add_cloudrail
Add Indeni Cloudrail
2021-10-04 19:45:31 +01:00
Nick Fyson d4dccf0b1e Merge branch 'main' into add_cloudrail 2021-10-04 19:44:55 +01:00
Yoni Leitersdorf c705225b8f Apply suggestions from nickfyson's code review
Co-authored-by: Nick Fyson <nickfyson@github.com>
2021-10-04 09:48:47 -07:00
Sarah Edwards 596b345944 use env variables for user-set values (#1117)
Co-authored-by: Josh Gross <joshmgross@github.com>
2021-10-01 15:07:03 -04:00
Ashwin Sangem 7b9e3b6858 Revert "Azure Data Factory CI starter workflow (#1111)" (#1146)
This reverts commit 7f30309cce.
2021-10-01 18:50:08 +05:30
Ana Armas Romero 13f632a90b Merge pull request #1144 from swarkentin/patch-1
Remove mention of trial for Mayhem for API
2021-09-30 11:41:10 +02:00
Ana Armas Romero 65fef9614f Merge branch 'main' into patch-1 2021-09-30 11:40:11 +02:00
Aparna Ravindra 02d91c6ccf checking for allowed category in validate-data script (#1131)
* checking for allowed category

* Update index.ts
2021-09-30 10:19:20 +05:30
Ashwin Sangem 6b053712be Added dockerfile to relevant CD template categories. (#1136)
* Added Dockerfile to Category for relevant CD templates.

* Update terraform.properties.json
2021-09-30 07:31:43 +05:30
Sheldon Warkentin 8c91a4c02f Remoev mention of trial for Mayhem for API
A free plan is now in place with a professional trial that may be opted into afterward.
2021-09-29 13:45:57 -06:00
Nick Fyson 15daabeaa4 Merge pull request #1129 from actions/nickfyson/validate-code-scanning
start validating code-scanning workflows
2021-09-29 16:18:11 +01:00
Nick Fyson 4087ed4594 Merge branch 'main' into nickfyson/validate-code-scanning 2021-09-29 16:11:58 +01:00
Fernando de Oliveira 7f30309cce Azure Data Factory CI starter workflow (#1111)
* Azure Data Factory CI starter workflow

* fix: data factory starter categories

* fix: checkout step formatting

* fix: data-factory-export targeting latest version

* feature: latest adf validate and export versions

* feature: Azure Data Factory tech_stack category for CI starter

Co-authored-by: Fernando de Oliveira <5161098+fernandoBRS@users.noreply.github.com>
2021-09-29 10:32:01 +05:30
Gary Houbre f0b8c8ad72 Starter workflow Symfony (#1069)
* Add Symfony to starter Workflow

* Added Properties from Symfony

* Update symfony.yml

* Update symfony.yml

* Update symfony.yml

* Fix Wrong Configuration

* Review and fixing

* Update Symfony Properties Category

Co-authored-by: Ashwin Sangem <ashwinsangem@github.com>
2021-09-28 15:11:17 +05:30
Nick Fyson 70655750b2 check for yml and yaml extensions 2021-09-28 09:37:43 +01:00
Ruud Senden cb6678504a File renames as requested in PR comments 2021-09-28 10:24:29 +02:00
Ruud Senden fd79bd4838 Merge branch 'main' into main 2021-09-28 10:21:39 +02:00
Nick Fyson b5a43f8049 Merge branch 'main' into add_cloudrail 2021-09-27 21:35:59 +01:00
Nick Fyson 9426610033 Merge branch 'main' into nickfyson/validate-code-scanning 2021-09-27 20:46:46 +01:00
Nick Fyson b58a4e21c6 start validating code-scanning workflows 2021-09-27 20:35:10 +01:00
Randy Kleinman 4a9a1680df Update README grammar (#1123)
substitue -> substitute
2021-09-24 18:05:34 -04:00
Aparna Ravindra 5a1343bb22 Adding template - Build Xcode project (#1095)
* adding build for xcode

* renaming template

Co-authored-by: Ashwin Sangem <ashwinsangem@github.com>
2021-09-23 10:29:50 +05:30
Ruud Senden 97de22b47c Update according to PR review comments 2021-09-22 14:12:39 +02:00
Ruud Senden 835899e531 Merge branch 'actions:main' into main 2021-09-22 14:07:52 +02:00
Fernando de Oliveira 55f65bcc15 Directory structure updated (#1112)
Co-authored-by: Fernando de Oliveira <5161098+fernandoBRS@users.noreply.github.com>
2021-09-22 16:37:22 +05:30
manuelbcd 9b4fcbf911 Adding 'Dockerfile' to category list 2021-09-21 11:25:16 +02:00
manuelbcd 7d41cdb581 Reviews from PR #1110 2021-09-21 11:03:21 +02:00
Ninad Kavimandan e4091f2f55 add Vue to nodejs props (#1109) 2021-09-21 13:35:26 +05:30
manuelbcd 38d4e3bfd2 Added some extra comments, Github Actions V2 and changed env vars 2021-09-20 11:52:53 +02:00
Cadu Ribeiro 6dfa11d0c4 Add github/super-linter as starter workflow on CI (#1089)
This commit adds github/super-linter as a starter workflow to execute
several linters based on the user codebase on changed files.

Co-authored-by: Josh Gross <joshmgross@github.com>
2021-09-17 16:58:46 -04:00
Ruud Senden 45ae2e08fc Merge branch 'main' into main 2021-09-17 12:38:42 +02:00
Manuel Boira Cuevas 5e116cb9e8 Sysdig Secure Inline Scan with SARIF report to starter workflows 2021-09-16 10:47:05 +02:00
Ninad Kavimandan c36ea2c560 add Continuous integration to makefile props (#1100) 2021-09-16 11:51:53 +05:30
Ninad Kavimandan 59daabb07b support AspNetCore and DotNetConsole (#1096)
Co-authored-by: Ashwin Sangem <ashwinsangem@github.com>
2021-09-16 11:19:17 +05:30
Ninad Kavimandan 9095e7c9d5 added prefix npm- (#1097) 2021-09-16 11:17:56 +05:30
Ninad Kavimandan 1cb322141e add makefile template (#1093)
Co-authored-by: Ashwin Sangem <ashwinsangem@github.com>
2021-09-16 11:02:21 +05:30
Shubham Tiwari df5ac56102 Adding category in the template property file (#1092)
* adding category in the template property file

* added category on ruby template
2021-09-16 11:00:07 +05:30
Aparna Ravindra dda42cb8f2 Addition to categories to python templates (#1088)
* addition to categories for python-app template

* adding categories to pylint template

* adding categories to python-package template

Co-authored-by: Ashwin Sangem <ashwinsangem@github.com>
2021-09-15 20:04:06 +05:30
Aparna Ravindra 3175118151 Addressing review comments - Renaming template and updating setup-ruby action version (#1086)
* renaming template and updating setup-ruby action version

* renaming rubyrails files

* renaming rails files
2021-09-15 20:02:11 +05:30
John Bohannon 238e55b9b4 Merge pull request #1091 from tetchel/openshift-ghcr-squashed
Update OpenShift workflow to use GHCR by default (#6)
2021-09-14 15:01:30 -04:00
Tim Etchells 149cf11287 Update github-script major version
Co-authored-by: John Bohannon <imjohnbo@github.com>
2021-09-14 11:52:30 -07:00
Tim Etchells 48e2865d35 Update OpenShift workflow to use GHCR by default (#6)
- Simplifies required configuration since a registry account is now
  optional
- Update a variety of comments
- Use tools-installer to install oc
- Other small changes towards a better UX

Signed-off-by: Tim Etchells <tetchel@gmail.com>
2021-09-14 11:12:35 -07:00
Ruud Senden 30715e86a4 Add 3rd-party GitHub Actions disclaimer 2021-09-14 09:06:33 +02:00
Ruud Senden ddf7fe1e94 Merge branch 'actions:main' into main 2021-09-14 08:58:07 +02:00
Ruud Senden 6d89fb8045 Update Fortify on Demand supported languages 2021-09-14 08:56:36 +02:00
Ashwin Sangem 028df69d88 Added support for Java Frameworks, Spring and JSF to CI Templates. (#1087) 2021-09-14 08:04:52 +05:30
Ruud Senden 99fae1ecb1 Update Fortify on Demand workflow 2021-09-13 10:29:38 +02:00
Ruud Senden b671ee6c7b Add original Fortify on Demand workflow 2021-09-13 10:16:30 +02:00
tmash06 b33f57dde1 Fixed a broken link to actions/upload-a-build-artifact in dotnet-desktop.yml. (#1074)
Co-authored-by: Josh Gross <joshmgross@github.com>
2021-09-09 15:45:29 -04:00
Ninad Kavimandan 84a9757692 added React and Angular as categories to node (#1084) 2021-09-09 16:16:31 +05:30
Nick Fyson 29e8b6c38a Merge pull request #1081 from actions/nickfyson/add-codeql-to-ghes
Nickfyson/add codeql to ghes
2021-09-08 11:05:03 +01:00
Nick Fyson c2cc54a69e only check nwo of supported actions 2021-09-08 10:28:14 +01:00
Nick Fyson 7aa1944311 only run ghes sync checks on YML files 2021-09-08 10:08:06 +01:00
Nick Fyson e6aff964db add codeql workflow to ghes 2021-09-08 09:54:15 +01:00
Nick Fyson ff4d33e44b Merge pull request #1080 from actions/revert-1077-nickfyson/add-codeql-to-ghes
Revert "add codeql workflow to ghes branch"
2021-09-08 07:27:03 +01:00
Nick Fyson 41e3bc11ea Revert "add codeql workflow to ghes branch" 2021-09-08 07:26:24 +01:00
Nick Fyson 79ff92ef6d Merge pull request #1077 from actions/nickfyson/add-codeql-to-ghes
add codeql workflow to ghes branch
2021-09-08 07:24:31 +01:00
Nick Fyson e9f0116056 Merge branch 'main' into nickfyson/add-codeql-to-ghes 2021-09-08 07:23:25 +01:00
Aparna Ravindra 237e7737ce restoring from main (#1078) 2021-09-08 11:52:12 +05:30
Nick Fyson fc748cc482 add codeql workflow to ghes 2021-09-06 15:25:04 +00:00
Aparna Ravindra 7b64f44165 Directory for deployments (#1071)
* moving deployment templates

* including deployment directory in scripts

* validate categories script init

* introducing scout

* introducing workflow

* Update validate-categories.yaml

* Update validate-categories.yaml

* Update validate-categories.yaml

* Update validate.rb

* Update validate.rb

* Update validate.rb

* Update validate.rb

* Update validate-categories.yaml

* Update validate-categories.yaml

* Update validate-categories.yaml

* Update validate.rb

* Update validate-categories.yaml

* Update validate-categories.yaml

* Create test_comment.yaml

* rename

* using [enter]

* testing newline

* test

* setting up variable

* using echo -e

* using join

* testing space space new line

* setting multi line in echo

* removing checkout

* setting rows-generator

* fixing error

* using join

* commit

* Update test_comment.yaml

* escaping pipe

* printing debug line

* using %0A

* Update validate-categories.yaml

* Update validate.rb

* Update validate.rb

* removing debug

* removing variable

* Update validate.rb

* Update validate-categories.yaml

* Validate categories comment on pr (#32)

* reverting deployment directory

* checking for output

* Categories validation two workflows (#34)

comment on pr in a separate workflow

* Categories validation two workflows (#35)

using right dir name

* Categories validation two workflows (#36)

.

* Categories validation two workflows (#37)

fixing typo

* adding if conditions

* adding try catch

* using console instead of echo

* equating to upstream

* moving deployment templates
2021-09-06 11:04:54 +05:30
Varun Sharma ac64f9caf5 Secure workflows (#1) (#1072)
* Restrict permissions for the GITHUB_TOKEN in .github/workflows/label-feature.yml

* Restrict permissions for the GITHUB_TOKEN in .github/workflows/label-support.yml

* Restrict permissions for the GITHUB_TOKEN in .github/workflows/stale.yml

* Restrict permissions for the GITHUB_TOKEN in .github/workflows/sync_ghes.yaml

* Restrict permissions for the GITHUB_TOKEN in .github/workflows/validate-data.yaml

Co-authored-by: Step Security <bot@stepsecurity.io>

Co-authored-by: step-security[bot] <89328102+step-security[bot]@users.noreply.github.com>
Co-authored-by: Step Security <bot@stepsecurity.io>
2021-09-02 16:05:24 -04:00
Andy McKay ea5c3f66f6 Merge pull request #1068 from duduribeiro/patch-1
Add a descriptive comment into stale.yml
2021-09-01 11:53:36 -07:00
Cadu Ribeiro 108dfef5d2 Add a descriptive comment into stale.yml
This PR adds a descriptive comment int "stale.yml" so user know what this does and how adjust.

This can be helpful because user's can come to this workflow as a template
directly from their issue page and this extra content will help them understand what is this.
2021-08-30 16:42:14 -03:00
Ashwin Sangem dcecd1b59b Merge pull request #1061 from tiwarishub/patch-2
Updating Node and Ruby properties to remove SDLC and adding npm
2021-08-25 09:58:49 +05:30
Shubham Tiwari c27ff7a931 Merge branch 'main' into patch-2 2021-08-25 09:52:41 +05:30
Ashwin Sangem de71ed7314 Merge pull request #1058 from aparna-ravindra/deployment_as_a_category
"deployment" as a category in properties.json
2021-08-25 09:49:12 +05:30
Aparna Ravindra 94816235a5 Merge branch 'main' into deployment_as_a_category 2021-08-25 09:02:47 +05:30
Shubham Tiwari bb64945011 Update node.js.properties.json 2021-08-25 00:31:52 +05:30
Shubham Tiwari 973d29b6bf Update gem-push.properties.json 2021-08-25 00:17:39 +05:30
Shubham Tiwari e4eea0ea9c Update npm-publish.properties.json 2021-08-25 00:17:17 +05:30
Shubham Tiwari 680b06affc Update node.js.properties.json 2021-08-25 00:13:11 +05:30
Konrad Pabjan c034c62f98 Merge pull request #1060 from dmitry-shibanov/v-dmshib/update-gradle-maven-workflow-caching
Add cache usage to the java starter-workflows
2021-08-24 11:27:50 -04:00
Dmitry Shibanov 138cc49463 fix documentation for gradle and maven 2021-08-24 18:25:52 +03:00
Dmitry Shibanov 7f3356b05c update android, gradle and maven workflows to use caching from setup-java 2021-08-24 17:31:06 +03:00
aparna-ravindra e56cb5c215 renaming variable 2021-08-24 10:28:09 +05:30
aparna-ravindra f5724905e5 capitalizing category 2021-08-23 12:47:22 +05:30
aparna-ravindra b2ac199660 reordering categories 2021-08-23 11:08:57 +05:30
aparna-ravindra 671fc9a635 deployment as a category in properties.json 2021-08-23 11:00:59 +05:30
Robin Neatherway 216e9acdac Merge pull request #1053 from actions/rneatherway-patch-1
Minor grammar fix
2021-08-19 16:31:57 +01:00
Robin Neatherway 07d3c64757 Minor grammar fix 2021-08-19 12:42:33 +01:00
rui 8bec7d6887 go: use go1.17 (#1045)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Co-authored-by: Josh Gross <joshmgross@github.com>
2021-08-18 19:28:16 -04:00
Yoni Leitersdorf 98bde3b31e Oops 2021-08-17 07:32:50 -07:00
Yoni Leitersdorf 188b52b51c Adding Cloudrail according to documentation and examples 2021-08-17 07:29:29 -07:00
Yoni Leitersdorf 69184c7484 Added Cloudrail according to instructions and existing examples 2021-08-17 07:29:02 -07:00
Ashwin Sangem 06f4074d27 Merge pull request #1046 from aparna-ravindra/readme_partner_update
Updating ReadMe
2021-08-17 15:34:00 +05:30
aparna-ravindra be437f0ba5 fixing typo 2021-08-17 14:09:22 +05:30
aparna-ravindra 68b47b8e02 fixing typo 2021-08-17 14:08:33 +05:30
Aparna Ravindra 380d15a73f Merge branch 'actions:main' into readme_partner_update 2021-08-17 13:14:32 +05:30
aparna-ravindra 9d67bbed4a updating readme 2021-08-17 13:11:02 +05:30
Ashwin Sangem 88c029a192 Merge pull request #1044 from aparna-ravindra/properties_name_icon_validation
Properties.json - name and icon validation
2021-08-17 11:04:24 +05:30
aparna-ravindra 124226ff32 using trim to check for blank names 2021-08-17 10:28:22 +05:30
aparna-ravindra ccf813d3fb using set instead of array 2021-08-17 10:09:53 +05:30
aparna-ravindra 0d582377a8 using regex to check for octicon 2021-08-16 16:48:34 +05:30
aparna-ravindra c090ea2f1b removing unused file 2021-08-16 15:42:50 +05:30
aparna-ravindra d8d19f1d62 extra validation for name and icon fields 2021-08-16 15:36:31 +05:30
Aparna Ravindra 06ae3fa66e Merge branch 'actions:main' into main 2021-08-16 15:30:19 +05:30
Nick Fyson e3ebfcb93e Merge pull request #1040 from actions/nickfyson/update-labeler-workflow
add specific permissions to the labeler-triage workflow
2021-08-12 12:44:29 +01:00
Nick Fyson 9267d74ede add specific permissions to the labeler-triage workflow 2021-08-12 12:33:42 +01:00
Nick Fyson 04b1f539f7 Merge pull request #1036 from actions/nickfyson/add-labeller-workflow
add labeller workflow to triage code scanning PRs
2021-08-12 11:01:13 +01:00
Nick Fyson 443876fc44 add labeller workflow to triage code scanning PRs 2021-08-10 20:15:41 +01:00
Nick Fyson 685784690c Merge pull request #1032 from kaakaww/feature/stackhawk-description 2021-08-05 15:31:17 +01:00
Zachary Conger bd814059fc update stackhawk code scanning workflow description 2021-08-05 06:39:44 -06:00
Nick Fyson 392413861c Merge pull request #962 from kaakaww/feature/stackhawk-hawkscan
StackHawk starter workflow for GitHub Code Scanning
2021-08-04 16:49:42 +01:00
Zachary Conger 3b211c9073 Merge branch 'main' into feature/stackhawk-hawkscan 2021-08-04 08:52:57 -06:00
Andy McKay 7135450ec1 Update README.md 2021-07-29 09:24:43 -07:00
Nick Fyson 322de7c3ba Merge pull request #969 from yongyan-gh/users/yongyan-gh/AddFlawfinderWorkflow 2021-07-29 07:58:27 +01:00
Nick Fyson 5e712753c6 Merge branch 'main' into users/yongyan-gh/AddFlawfinderWorkflow 2021-07-29 07:57:23 +01:00
Yong Yan bc28e7ed6b Replace action tag with commit hash. 2021-07-28 14:08:48 -07:00
jxlwqq 74200f122d Fix login TKE registry error (#882)
Error response from daemon: Get https://ccr.ccs.tencentyun.com/v2/: unauthorized: authentication required

Co-authored-by: Josh Gross <joshmgross@github.com>
2021-07-28 13:02:21 -04:00
Aparna Ravindra 5fa54a2e91 Merge pull request #1 from aparna-ravindra/workflow-schema-validation
workflow schema validation
2021-07-28 22:14:09 +05:30
Aparna Ravindra e02c6fb241 adding performance measure 2021-07-28 07:46:24 +05:30
David Sherret 5ba97df54d Remove matrix for Deno template. (#1024)
Fixes: The actions/checkout action on windows checks out files with \r\n line endings instead of preserving them. This causes deno fmt --check to fail because the line endings are \r\n instead of \n. Instead of working around this problem specifically on Windows, this change removes the matrix in order to simplify the action.

Co-authored-by: Josh Gross <joshmgross@github.com>
2021-07-26 13:22:45 -04:00
Josh Gross 8ba0ca0797 Remove extra character (#1023) 2021-07-26 11:26:46 -04:00
Ashwin Sangem 5a4ff5225b Merge pull request #955 from NinadKavimandan/ninadkavimandan_node_frameworks
Added templates for gulp + grunt + webpack
2021-07-26 16:44:35 +05:30
aparna-ravindra 461a566389 reverting 2021-07-26 14:27:21 +05:30
aparna-ravindra c13101078d reverting 2021-07-26 14:26:37 +05:30
aparna-ravindra 648a6f0987 merge from main 2021-07-22 15:54:07 +05:30
aparna-ravindra db54a4d59b fixing runs-on 2021-07-22 15:48:19 +05:30
aparna-ravindra d2451b84c5 merge from main 2021-07-22 15:41:01 +05:30
aparna-ravindra 287fdf727c Merge remote-tracking branch 'origin/main' into workflow-schema-validation 2021-07-22 15:36:44 +05:30
Aparna Ravindra db7bb321d0 Delete manual.yml 2021-07-22 15:34:39 +05:30
aparna-ravindra b715fe8782 merge from master 2021-07-22 15:31:46 +05:30
aparna-ravindra 4ae4e4dcb0 workflow schema 2021-07-22 15:29:31 +05:30
Aparna Ravindra 654221f094 Merge branch 'actions:main' into main 2021-07-22 15:22:35 +05:30
Ninad Kavimandan 3e7eb56f27 added TypeScript for gulp + grunt + webpack 2021-07-20 13:30:46 +05:30
Ninad Kavimandan e12559a4f8 updated descriptions and workflow names 2021-07-20 10:43:58 +05:30
Ninad Kavimandan 89f121147f Merge branch 'ninadkavimandan_node_frameworks' of github.com:NinadKavimandan/starter-workflows into ninadkavimandan_node_frameworks 2021-07-20 10:20:15 +05:30
Ninad Kavimandan 5175c33819 updated icons for gulp + grunt + webpack ci 2021-07-20 10:19:59 +05:30
Zachary Conger bcb74bbea1 Merge branch 'main' into feature/stackhawk-hawkscan 2021-07-19 12:47:42 -06:00
Yong Yan dd423cb25a Merge branch 'users/yongyan-gh/AddFlawfinderWorkflow' of https://github.com/yongyan-gh/starter-workflows into users/yongyan-gh/AddFlawfinderWorkflow 2021-07-19 10:12:06 -07:00
Yong Yan e8d4e37356 Merge branch 'main' into users/yongyan-gh/AddFlawfinderWorkflow 2021-07-19 10:08:40 -07:00
Yong Yan 55ff908b82 Update published action name and version 2021-07-19 10:02:01 -07:00
Ninad Kavimandan 98436d569d Merge branch 'main' into ninadkavimandan_node_frameworks 2021-07-19 13:18:02 +05:30
Andy McKay f6cef1d4ee Update CODEOWNERS
Move to a specific starter-workflow team.
2021-07-16 12:30:45 -07:00
Zachary Conger 06731f53f3 Merge branch 'main' into feature/stackhawk-hawkscan 2021-07-14 09:07:32 -06:00
Konrad Pabjan 6a12971ccb Merge pull request #968 from MaksimZhukov/v-mazhuk/update-nodejs-workflow
Add cache usage to the node.js starter-workflow
2021-07-01 14:58:16 +02:00
Yong Yan 9a5f99cc24 Merge branch 'main' into users/yongyan-gh/AddFlawfinderWorkflow 2021-06-30 14:52:42 -07:00
Yong Yan a72fa8fd8b Add icon file 2021-06-30 14:18:24 -07:00
MaksimZhukov 1edda09815 Add cache usage to the node.js starter-workflow 2021-06-30 18:44:10 +03:00
Zachary Conger 3881f701df Merge branch 'main' into feature/stackhawk-hawkscan 2021-06-28 16:07:53 -06:00
Zachary Conger 09bec32a03 update hawkscan-action reference to commit hash 2021-06-28 16:05:58 -06:00
Andy McKay 27a54d9d4c Merge pull request #944 from chenrui333/patch-4
npm-publish: update to use the latest TLS v14
2021-06-25 13:59:59 -07:00
Andy McKay 0f0402f7d6 Merge branch 'main' into patch-4 2021-06-25 13:59:30 -07:00
Andy McKay 9482241d4b Merge pull request #945 from chenrui333/patch-5
pylint: use python 3.9 and setup-python@v2
2021-06-25 13:58:35 -07:00
Andy McKay 345e8d6573 Merge branch 'main' into patch-5 2021-06-25 13:57:27 -07:00
Andy McKay d268714000 Merge pull request #956 from tiwarishub/patch-1
Updated blank.properties.json to have creator field
2021-06-25 13:57:03 -07:00
Yong Yan 808fc34514 Add flawfinder workflow 2021-06-24 15:54:15 -07:00
Shubham Tiwari acad7b6626 Update ci/properties/blank.properties.json
Co-authored-by: Andy McKay <andymckay@github.com>
2021-06-24 21:40:31 +05:30
Andy McKay b70ebde68c Merge branch 'main' into patch-5 2021-06-24 08:29:43 -07:00
Shubham Tiwari 2f86a8abbe Update blank.properties.json 2021-06-24 11:06:26 +05:30
Ninad Kavimandan edd7400d76 removed CI from the name 2021-06-24 11:00:38 +05:30
Ninad Kavimandan 3bb230a79a added templates for gulp + grunt + webpack 2021-06-24 10:51:42 +05:30
Aparna Ravindra ee8dc59f49 Create workflow_input.yml 2021-06-24 10:34:31 +05:30
Aparna Ravindra aa1dc148f7 Create manual.yml 2021-06-24 10:00:51 +05:30
Andy McKay 1dd15d2033 Merge pull request #952 from brcrista/main
action -> workflow in blank.yml
2021-06-23 12:15:49 -07:00
Brian Cristante 9e53fa6505 action -> workflow 2021-06-23 14:43:36 -04:00
rui 81295d6e71 go: update to use 1.16 (#943) 2021-06-21 13:55:57 -04:00
rui ba0243447c pylint: use python 3.9 and setup-python@2 2021-06-21 13:32:13 -04:00
rui 89dcaaf2de npm-publish: update to use the latest TLS v14
node v12 is in maintenance mode
node v16 (next TLS) is not ready yet
2021-06-21 13:29:17 -04:00
Zachary Conger 6daaf84bb3 update everything to emphasize stackhawk not hawkscan 2021-06-17 06:40:39 -06:00
aparna-ravindra 459c27dca6 workflow schema validation 2021-06-17 14:28:48 +05:30
Josh Gross 0dd0ee5676 Update stale cron schedule 2021-06-16 09:55:29 -04:00
Jeroen Rietveld dd612d895a Merge pull request #899 from Mirobit/main
Add node v16 and remove v10 and v15
2021-06-16 11:09:28 +09:00
Jeroen Rietveld 93e99fd3be Merge branch 'main' into main 2021-06-16 11:01:03 +09:00
Andy McKay e254b12b67 Merge pull request #935 from DezorkIT/patch-1
Removed *`* because it crashes build
2021-06-14 10:28:53 -07:00
DezorkIT 85b7086a46 Removed *`* because it crashes build
There was a mistake in [last commit](https://github.com/actions/starter-workflows/commit/5ac32fc0977190a464c62c63cad5fcb04067c34e),  that added additional *`* which causes this error 
```
/Users/runner/work/_temp/2259bec8-2d05-441b-ada0-fad594134af2.sh: line 5: unexpected EOF while looking for matching ``'
14
Error: Process completed with exit code 2.
```
I just simply removed it.
2021-06-14 15:19:02 +03:00
Nick Fyson 82c4356297 Merge pull request #912 from gfs/main
Adds an example for using the DevSkim code scanning action
2021-06-09 16:42:38 +01:00
Nick Fyson d0f93077b7 Merge branch 'main' into main 2021-06-09 16:40:24 +01:00
Gabe Stocco ef2ae0412b Update cst-logo.svg 2021-06-09 08:24:51 -07:00
Andy McKay ff56007cf1 Merge pull request #922 from tetchel/patch-2
Replace oc-installer with tools-installer
2021-06-07 10:40:41 -07:00
Tim Etchells a933c15f51 Merge branch 'main' into patch-2 2021-06-07 11:50:02 -04:00
CrazyMax 90ba42df70 Simplify Docker publish workflow (#921)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
Co-authored-by: Josh Gross <joshmgross@github.com>
2021-06-04 14:23:02 -04:00
Tim Etchells f76dbea38e Merge branch 'main' into patch-2 2021-06-03 20:41:24 -04:00
Josh Gross 0c715d6fe2 Use $cron-daily for daily schedules (#923) 2021-06-03 15:07:11 -04:00
Tim Etchells 4c00e7ffc6 Replace oc-installer with tools-installer 2021-06-03 13:19:02 -04:00
James Curtin aaea7d2c91 Update Python package build and upload example (#900)
* Update Python package build and upload example

* Update python-publish.yml
2021-06-03 10:55:41 -04:00
Andy McKay 39a2831576 Merge pull request #914 from pfleidi/packages-container-registry-workflow
Update push docker container to support container registry
2021-06-02 16:04:37 -07:00
Sven Pfleiderer 7b6d03675b Revert "Remove pull request condition"
This reverts commit 9d73235e03.
2021-06-02 15:58:44 -07:00
Sven Pfleiderer 9d73235e03 Remove pull request condition 2021-06-02 15:41:23 -07:00
Sven Pfleiderer 9317366c91 Remove docker tags section to simplify configuration 2021-06-02 14:21:03 -07:00
Sven Pfleiderer 749308b283 Merge branch 'packages-container-registry-workflow' of github.com:pfleidi/starter-workflows into packages-container-registry-workflow 2021-05-26 16:24:12 -07:00
Sven Pfleiderer 6fe53a9ebd Remove context configuration since it's already the default 2021-05-26 15:03:41 -07:00
Sven Pfleiderer aa30f1448e Update ci/docker-publish.yml
Co-authored-by: Bryan Clark <clarkbw@github.com>
2021-05-26 14:07:29 -07:00
Sven Pfleiderer 41a66c656e Use git shas rather than version tags 2021-05-26 13:46:54 -07:00
Sven Pfleiderer b574e6db50 Add notice about third party actions 2021-05-26 10:55:50 -07:00
Sven Pfleiderer 282b038713 Update push docker container to support container registry
Also simplify the existing workflow by replacing shell code with actions
2021-05-26 10:41:53 -07:00
Gabe Stocco 9c10407107 Update devskim.yml 2021-05-26 08:37:19 -07:00
Gabe Stocco 0fdd36cae1 Update devskim.properties.json 2021-05-26 08:36:28 -07:00
Gabe Stocco 16a4b62181 Update cst-logo.svg 2021-05-26 08:26:56 -07:00
Gabe Stocco 1f734b1213 Update devskim.properties.json 2021-05-26 05:08:44 -07:00
Gabe Stocco 72fb7d8389 Update devskim.yml 2021-05-25 17:44:51 -07:00
Gabe Stocco c0f3fd1127 Update devskim.properties.json 2021-05-25 17:39:15 -07:00
Gabe Stocco 98db900858 Add logo and properties.json 2021-05-25 17:36:54 -07:00
Gabe Stocco d0779b618f Update devskim.yml 2021-05-25 17:32:55 -07:00
Gabe Stocco 1c4f13f881 Adds DevSkim example file 2021-05-25 17:32:21 -07:00
Luca Casonato 7c29ac2481 switch to official denoland/setup-deno action (#909)
* switch to official denoland/setup-deno action

Also adds formatting and linting to the workflow (like dart workflow), and use uniform capitalization.

* update commit hash

Co-authored-by: Josh Gross <joshmgross@github.com>
2021-05-24 16:02:03 -04:00
Nick Fyson 68d67073c3 Merge pull request #910 from tfsec/tfsec-version-bump
Update the tfsec ref point
2021-05-21 13:10:50 +01:00
Owen Rumney a188baf434 Update the tfsec ref point
Use the latest commit hash for the action - resolves the issue support code signing
2021-05-21 08:39:23 +01:00
Michael Rotarius c50fae7abe Add node v16 and remove v10 and v15 2021-05-06 18:03:07 +02:00
Andy McKay 055373ee0b Merge pull request #894 from jianboy/hotfix/jianboy-add-path-bug
update setup-msbuild version and fix add path bug.
2021-05-05 16:51:38 -07:00
jianboy 069c83c04b Merge branch 'main' into hotfix/jianboy-add-path-bug 2021-05-06 06:18:18 +08:00
Divyanshu Agrawal dd69301f6f Remove default value of env 'APP_PORT' (#896)
As oc-new-app action now has 'port' as an optional input
So, removing default value of env 'APP_PORT'

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-05-05 18:16:37 -04:00
Andy McKay a87f3ccb96 Merge pull request #883 from hungri-yeti/hungri-yeti-patch-1
`instruments` is depreacted, update to use `xcrun xctrace`
2021-05-05 08:46:07 -07:00
liuyuqi-dellpc 19bbf1470b fix add path bug. 2021-05-04 19:45:29 +08:00
Ken Luke 0648edd177 Merge branch 'main' into hungri-yeti-patch-1 2021-05-03 17:30:51 -07:00
Andy McKay 758c82422d Merge pull request #892 from abitrolly/patch-1
Do not use fail-fast when testing multiple Pythons
2021-05-03 10:58:59 -07:00
Anatoli Babenia 86a37d4cad Do not use fail-fast when testing multiple Pythons 2021-05-02 05:45:26 +03:00
Andy McKay cdc95ae299 Merge pull request #889 from MichaelDeBoey/patch-1
chore: update `stale.yml`
2021-04-29 18:22:22 -07:00
Michaël De Boey 0fd345a23c chore: update stale.yml 2021-04-30 02:40:37 +02:00
Chris Gavin 5d060a03ec Merge pull request #888 from tfsec/remove-unused-token
tfsec: Remove the github token
2021-04-29 09:07:45 +01:00
Owen Rumney 98dbe8f0d1 Remove the github token
The tfsec action doesn't require the GitHub token so removing it
2021-04-29 08:28:14 +01:00
Andy McKay 4e9bf614aa Merge pull request #716 from Lectem/patch-1
Enhance/update the cmake starter workflow
2021-04-27 11:37:42 -07:00
Andy McKay 6512983477 Merge branch 'main' into patch-1 2021-04-27 11:36:05 -07:00
Shivam Mathur 8ce9196a32 Update shivammathur/setup-php in laravel.yml (#886) 2021-04-27 13:12:11 -04:00
eric sciple b86977783c Merge pull request #829 from actions/users/ericsciple/21-02-perm
Update starter workflows to specify required permissions
2021-04-27 10:14:13 -05:00
eric sciple 225cb8e3c5 Merge branch 'main' into users/ericsciple/21-02-perm 2021-04-27 10:13:27 -05:00
Nick Fyson 536db7f6f5 Merge pull request #880 from A-Katopodis/main
PSScriptAnalyzer code scanning
2021-04-26 16:53:44 +01:00
A-Katopodis 120036944a Updated Powershell Icon 2021-04-26 11:04:15 +03:00
Clément Grégoire b6db8893f5 Merge branch 'main' into patch-1 2021-04-24 07:17:07 +02:00
eric sciple a0512d36da include actions:read for all code scanning workflows 2021-04-23 14:06:00 -05:00
Ken Luke 5ac32fc097 instruments is depreacted, update to use xcrun xctrace
The instruments command is deprecated as of Xcode 12 (https://developer.apple.com/documentation/xcode-release-notes/xcode-12-release-notes). Updated to use the corresponding `xcrun` command.
2021-04-23 11:33:14 -07:00
A-Katopodis ccfd55f9c8 Updated creator field 2021-04-22 01:51:14 +03:00
A-Katopodis 2678356764 Add psscriptanalyzer code scanning 2021-04-22 01:41:31 +03:00
eric sciple 6a69f367db Update starter workflows to specify permissions 2021-04-21 16:32:53 -05:00
Sam Partington ffb4bccd2d Merge pull request #879 from stephenwade/patch-1
Fix broken link in README.md
2021-04-20 09:42:52 +01:00
Stephen Wade ed015ab7b9 Fix broken link in README.md 2021-04-17 14:08:56 -04:00
Andy McKay fe49f66316 Merge pull request #878 from sceee/patch-1
Add recursive write permissions to site directory in jekyll starter workflow
2021-04-16 14:28:28 -07:00
sceee 7d3cfbd035 Add recursive write permissions to "/srv/jekyll"
Add recursive write permissions to the site directory to avoid permission denied errors in case of jekyll requiring to create the output directory
2021-04-15 18:17:57 +02:00
John Bohannon a3d822534a Merge pull request #877 from tfsec/owen-add-tfsec
Add tfsec code scanning starter action
2021-04-14 15:27:02 -04:00
Owen Rumney 7dab5895e6 add HCL as a category 2021-04-14 20:17:04 +01:00
Owen Rumney 78f5a8e8b5 center the icon better 2021-04-14 19:35:46 +01:00
Owen Rumney 678e77e33c fix the svg to make it nicer 2021-04-14 19:27:00 +01:00
Owen Rumney cabc659a07 some tweaks for appearance
Improve the description, make it more punchy :-)
Use a better SVG for the icon
2021-04-14 19:19:39 +01:00
Owen Rumney 4adf815cfc update to use the hash rather than tag 2021-04-14 18:53:21 +01:00
Owen Rumney b80a1555aa Update code-scanning/tfsec.yml
Co-authored-by: John Bohannon <imjohnbo@github.com>
2021-04-14 18:45:51 +01:00
Owen Rumney a2e5f8e548 Add tfsec starter action 2021-04-14 18:40:24 +01:00
John Bohannon 1a9e61817a Merge pull request #873 from alpire/add-mayhem-for-api-scanning
Add Mayhem for API code scanning workflow
2021-04-13 11:35:57 -04:00
John Bohannon 9d7a348464 Update code-scanning/properties/mayhem-for-api.properties.json 2021-04-13 11:34:49 -04:00
Alexandre Rebert 97a16c82c5 Add Mayhem for API code scanning workflow 2021-04-12 15:14:08 -04:00
Andy McKay fc65e636f2 Merge pull request #840 from pastelmind/use-setup-node-v2
Use actions/setup-node v2
2021-04-09 15:34:24 -07:00
Andy McKay 01a4b85c82 Merge branch 'main' into use-setup-node-v2 2021-04-09 15:20:06 -07:00
Andy McKay 4c2aa26e36 Merge pull request #860 from actions/fix-buildah-ubuntu-regression
Update openshift.yml
2021-04-09 15:17:34 -07:00
Andy McKay d0084fca76 Merge branch 'main' into use-setup-node-v2 2021-04-09 15:16:40 -07:00
John Bohannon a5afdf4028 Update openshift.yml 2021-04-05 15:01:23 -04:00
Konrad Pabjan d9236ebe55 Merge pull request #838 from AlenaSviridenko/setup-java-v2-update
Update starter-workflows with setup-java@v2
2021-04-05 11:31:29 -04:00
Alena Sviridenko 9934c535bb Merge branch 'main' into setup-java-v2-update 2021-04-05 17:45:30 +03:00
Alena Sviridenko 1f729c2f02 Fixed docs path
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2021-04-05 17:44:33 +03:00
Andy McKay 804289e1b5 Merge pull request #851 from yakimun/composer-no-suggest
Remove the deprecated "--no-suggest" option from the Composer install step
2021-03-29 11:55:17 -07:00
Andy McKay 9bca1b7807 Merge branch 'main' into composer-no-suggest 2021-03-25 07:39:33 -07:00
John Bohannon 2ab72ee403 Merge pull request #852 from redhat-actions/openshift
Modify openshift workflow with v2 version of actions and add oc-new-app
2021-03-25 10:38:08 -04:00
divyansh42 c08e24c17b Resolve reviews
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-03-24 20:21:19 +05:30
Divyanshu Agrawal 7c8569ab2b Modify openshift workflow with v2 version of actions and add oc-new-app (#1)
* Modify openshift workflow with v2 version of actions and add oc-new-app

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-03-24 11:19:15 +05:30
Ye-hyoung Kang e57b8bf79c Merge branch 'main' into use-setup-node-v2 2021-03-19 01:01:52 +09:00
Sergey Yakimov 019de53cfb Remove the deprecated "--no-suggest" option from the Composer install step 2021-03-18 15:28:14 +02:00
Andy McKay ab8c670faf Merge pull request #848 from Geod24/fix-guidelines
Fix wording in README to follow pull request template
2021-03-17 09:51:56 -07:00
Geod24 3d5dfdfe67 Fix wording in README to follow pull request template
The wording in the pull request template was changed from recommend to require,
but the same change was not made to the README.
2021-03-14 16:22:28 +09:00
pastelmind d3f35ae32d Use actions/setup-node v2
Since actions/setup-node v2 has been declared stable since v2.1.4
(released on 2020-12-16), it should be safe to move everyone to v2.
2021-03-13 14:34:06 +09:00
Nick Fyson b2e786d4e9 Merge pull request #839 from actions/nickfyson/fix-synopsys-id
fix id of synopsys-io workflow
2021-03-12 20:10:37 +00:00
Nick Fyson 6e127e8439 fix id of synosys-io workflow 2021-03-12 20:00:40 +00:00
Nick Fyson bc4826f28a Merge pull request #835 from synopsys-sig/add_listing_to_github_ui
add synopsys code scanning workflow
2021-03-12 18:55:00 +00:00
Rahul Gunasekaran 5eb695baec Updated commit SHA
Co-authored-by: Nick Fyson <nickfyson@github.com>
2021-03-12 12:23:28 -05:00
Rahul Gunasekaran ba6a2f292c Updated version to commit SHA 2021-03-11 21:33:39 -05:00
Rahul Gunasekaran fe22e77a67 changes for checklist items 2021-03-11 13:18:53 -05:00
AlyonaSviridenko f42ac9c022 renamed adoptium to adopt 2021-03-11 12:56:09 +03:00
Rahul Gunasekaran 44804bcf66 Merge branch 'main' into add_listing_to_github_ui 2021-03-10 09:07:29 -05:00
Rahul Gunasekaran a74640c1ec updated suggested filename changes 2021-03-10 08:53:33 -05:00
Rahul Gunasekaran 93599e2505 Updated suggested changes in code-scanning/synopsys-io-actions.yml
Co-authored-by: Nick Fyson <nickfyson@github.com>
2021-03-10 08:22:45 -05:00
Nick Fyson ce86c32a1a Merge pull request #832 from actions/nickfyson/add_controlpane_workflow
add kubesec code scanning workflow
2021-03-10 08:51:11 +00:00
Rahul Gunasekaran 16a1b76572 add_listing_to_github_ui 2021-03-09 15:57:48 -05:00
Nick Fyson 20bd227226 add kubesec code scanning workflow 2021-03-08 13:45:56 +00:00
Josh Gross 3116545da6 Remove extra line in Elixir workflow (#831) 2021-03-05 11:43:49 -05:00
John Bohannon 6f1d4e826f Merge pull request #830 from actions/add-environment
Add environment: production to partner starter workflows
2021-03-05 11:18:08 -05:00
John Bohannon f5067f01d2 Merge branch 'main' into add-environment 2021-03-05 11:16:16 -05:00
Andy McKay de772de4ea Merge pull request #822 from iautom8things/patch-1
actions/setup-elixir now lives under erlef GH Org
2021-03-05 08:03:48 -08:00
Jonathan Clem cd70e3a1c3 Merge branch 'main' into patch-1 2021-03-05 10:16:38 -05:00
Jonathan Clem a29df688f2 Update ci/elixir.yml
Co-authored-by: Andy McKay <andymckay@github.com>
2021-03-05 10:04:52 -05:00
John Bohannon 761b09ecde add production environment 2021-03-05 09:44:31 -05:00
John Bohannon c451f7ec47 Update aws.yml 2021-03-05 09:34:17 -05:00
John Bohannon 559fd976e2 Update alibabacloud.yml 2021-03-05 09:32:54 -05:00
AlyonaSviridenko ce889525cc updated workflows with new version of setup-java 2021-03-02 18:43:44 +03:00
John Bohannon 618434daab Merge pull request #807 from bharathkkb/patch-1
feat: Add new GitHub env tag
2021-03-02 08:40:14 -05:00
John Bohannon 201fcceef4 Merge branch 'main' into patch-1 2021-03-02 08:38:44 -05:00
Jordi Boggiano a115270340 Always run composer install even if the vendor dir was restored (#825)
Co-authored-by: Josh Gross <joshmgross@github.com>
2021-02-26 17:34:09 -05:00
Jordi Boggiano db576e4bf4 Make the validation strict by default (#824)
Co-authored-by: Josh Gross <joshmgross@github.com>
2021-02-26 17:31:13 -05:00
Michael Thomsen 3cf906bc1b Update dart.yml (#820)
* Update dart.yml

Update Dart starter workflow to use `setup-dart` from the Dart team. This enables testing on more operating systems (Linux, Windows, and macOS), and offers more control over the Dart SDK version to test with.

* Update dart.yml

Add required disclaimer

* Update ci/dart.yml

Co-authored-by: Josh Gross <joshmgross@github.com>

Co-authored-by: Josh Gross <joshmgross@github.com>
2021-02-26 17:25:23 -05:00
Manuel Zubieta 97a0ce7925 actions/setup-elixir now lives under erlef GH Org
github.com/actions/setup-elixir is no longer maintained and now suggests using github.com/erlef/setup-elixir

This should be updated to help new Github Actions users to use the supported action.
2021-02-24 09:13:54 -06:00
Steve Winton c6c0c7b5ef Merge pull request #806 from actions/pr-template-tune-up
Clarify pre-requisites, tasks for onboarding of new starter workflows
2021-02-17 14:41:54 -06:00
Steve Winton ccc4742cb3 Require 40 character SHA of referenced actions
Co-authored-by: Andy McKay <andymckay@github.com>
2021-02-16 10:56:46 -06:00
Steve Winton 9786331c77 Remove languages in favor of categories 2021-02-16 10:53:36 -06:00
Steve Winton e0e30a0490 Add link to codeql.properties.json as example 2021-02-16 10:53:00 -06:00
Bharath KKB 26b35f5776 feat: Add new GitHub env tag 2021-02-13 13:39:55 -06:00
Steve Winton f089b6db62 Add code scanning instructions for properties.json file 2021-02-11 18:08:32 -06:00
Steve Winton 23285c07c6 Add kebab-case example 2021-02-11 17:59:41 -06:00
Steve Winton 14be8c2b5a Ensure consistent line-endings 2021-02-11 17:55:44 -06:00
Steve Winton cdcc451ead Add separate sections based on workflow type 2021-02-11 17:54:56 -06:00
Steve Winton 0e973208b8 Add pre-requisites section 2021-02-11 17:51:56 -06:00
Steve Winton 06274ce330 Add comments around general guidance
So that they are only visible to the PR author
2021-02-11 17:51:56 -06:00
Steve Winton 950da01568 Add emphasis to acceptance criteria 2021-02-11 16:27:02 -06:00
Clément Grégoire 2e8a60b695 Merge branch 'main' into patch-1 2021-01-07 08:04:59 +01:00
Clément Grégoire 4978051373 runner.workspace => github.workspace
Co-authored-by: Josh Gross <joshmgross@github.com>
2021-01-07 08:01:58 +01:00
Clément Grégoire b6f43960ef Fix context references
runner.workspace => github.workspace

Co-authored-by: Josh Gross <joshmgross@github.com>
2021-01-07 08:01:43 +01:00
Clément Grégoire 7ad776e201 Merge branch 'main' into patch-1 2021-01-02 10:57:27 +01:00
Clément Grégoire ace2e21634 Merge branch 'main' into patch-1 2020-12-05 16:10:04 +01:00
Clément Grégoire f344c836c9 CMake: Use ${{runner.workspace}}/build instead of ./build 2020-12-05 16:06:07 +01:00
Andy McKay c088288539 Merge pull request #538 from Marcono1234/patch-1
Improve maven.yml
2020-11-25 13:02:36 -08:00
Andy McKay 4f53470f32 Merge pull request #540 from lukyth/patch-1
Make NPM_TOKEN consistent with GITHUB_TOKEN
2020-11-25 10:15:47 -08:00
Andy McKay e2f0d8de48 Merge branch 'main' into patch-1 2020-11-24 15:20:11 -08:00
Clément Grégoire 3a4f08c55b Merge branch 'main' into patch-1 2020-11-24 22:57:05 +01:00
Clément Grégoire 1bf4cbdad8 CMake: Remove the install and artifact steps for 2020-11-24 22:56:29 +01:00
Clément Grégoire ee5512ec21 Following the latest guidelines for triggers 2020-11-22 15:37:53 +01:00
Clément Grégoire 94f134c8ff Enhance CMake starter workflow
This enhances and cleans the previous workflow by:

- Using the universal cmake commands
- Using `${{env.BUILD_TYPE}}` instead of enforcing bash shell
- Adding the install and artifact steps
2020-11-22 15:09:18 +01:00
Andy McKay 6bd0eb9cee Merge pull request #580 from domenkozar/nix
nix: add Nix action
2020-09-28 14:35:22 -07:00
Andy McKay def8d9d2cb Merge branch 'master' into nix 2020-09-28 14:34:43 -07:00
Domen Kožar 349e3dde95 nix: review feedback 2020-09-24 11:57:59 +02:00
Andy McKay 53ecd5cb8a Merge pull request #382 from Vibhu-Agarwal/build-fail-pythonpublish.yaml
Update python-publish.yml
2020-09-03 16:24:23 -07:00
Vibhu Agarwal fd28bd2710 Merge branch 'master' into build-fail-pythonpublish.yaml 2020-09-02 00:23:27 +05:30
Domen Kožar 194e973f90 ci: add Nix action 2020-07-08 15:29:16 +02:00
Kanitkorn Sujautra 1de1e6c777 Make NPM_TOKEN consistent with GITHUB_TOKEN
It was `npm_token` before, but for GitHub it's `GITHUB_TOKEN`. This makes them be the same, all-cap case.
2020-06-07 00:51:49 +09:00
Marcono1234 af32ab05c6 Improve maven.yml 2020-06-03 23:16:28 +02:00
Vibhu Agarwal 29a2e8d1b5 Merge branch 'master' into build-fail-pythonpublish.yaml 2020-05-26 17:54:38 +05:30
Vibhu Agarwal 9b42288206 Update python-publish.yml 2020-05-26 17:52:59 +05:30
Vibhu Agarwal 4624b6ee62 Update python-publish.yml 2020-03-04 19:31:12 +05:30
218 changed files with 4707 additions and 498 deletions
@@ -1,30 +0,0 @@
---
name: Code Scanning onboarding
about: Captures all the information and tasks required to onboard a 3rd party project into Code Scanning
title: 'Code Scanning Partner: '
labels: 'code scanning'
assignees: ''
---
:wave: Thanks for your interest in integrating with Code Scanning! To ensure a swift onboarding of your integration, please provide the following `Requested information` and complete the `Action items` below:
## Requested information
- [ ] Name of your integration:
- [ ] Name of your product / company:
- [ ] Description of your integration:
- [ ] Languages supported by your integration:
- [ ] [For integrations leveraging GitHub Actions] PR for your proposed workflow:
- [ ] URL to an SVG logo representing your integration / product / company:
## Action items
- [ ] Apply to join the GitHub Technology Partner Program: [partner.github.com/apply](https://partner.github.com/apply?partnershipType=Technology+Partner)
- [ ] Develop your integration, by _either_ [following this guide for GitHub Actions](https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github#uploading-a-code-scanning-analysis-with-github-actions), or [integrating directly with the REST API](https://docs.github.com/en/rest/reference/code-scanning#upload-a-sarif-file)
- [ ] [For integrations leveraging GitHub Actions] Submit a PR in this repo for your proposed starter workflow. The workflow should:
- [ ] Live in [the `code-scanning` directory](https://github.com/actions/starter-workflows/tree/main/code-scanning)
- [ ] Have a filename that is in accordance with your product / service / business name, in [_kebab-cased_ format](https://en.wikipedia.org/wiki/Kebab_case), with a `.yml` file extension
- [ ] Include comments describing the workflows behavior ([example](https://github.com/actions/starter-workflows/blob/c59b62dee0eae1f9f368b7011cf05c2fc42cf084/code-scanning/codeql.yml#L1-L11))
- [ ] Trigger on push, pull_request, and schedule events ([example](https://github.com/actions/starter-workflows/blob/c59b62dee0eae1f9f368b7011cf05c2fc42cf084/code-scanning/codeql.yml#L14-L21))
- [ ] Reference your GitHub Action using a 40-char commit SHA (e.g. `uses: github/codeql-action@a3a8231e64d3db0e7da0f3b56b9521dcccdfe412`)
- [ ] Update the `Requested information` above, ensuring all details are correct
- [ ] When ready, please ping `@actions/advanced-security-code-scanning` in a comment below, for a review :bow:
+3
View File
@@ -0,0 +1,3 @@
# Add 'code-scanning' label to any changes within 'code-scanning' folder or any subfolders
code-scanning:
- code-scanning/**/*
+36 -13
View File
@@ -1,32 +1,55 @@
<!--
IMPORTANT:
This repository contains configuration for what users see when they click on the `Actions` tab and the setup page for Code Scanning.
It is not:
* A playground to try out scripts
* A place for you to create a workflow for your repository
-->
## Pre-requisites
- [ ] Prior to submitting a new workflow, please apply to join the GitHub Technology Partner Program: [partner.github.com/apply](https://partner.github.com/apply?partnershipType=Technology+Partner).
---
**Please note that at this time we are only accepting new starter workflows for Code Scanning. Updates to existing starter workflows are fine.**
### **Please note that at this time we are only accepting new starter workflows for Code Scanning. Updates to existing starter workflows are fine.**
---
In the workflow and properties files:
## Tasks
- [ ] The workflow filename of CI workflows should be the name of the language or platform, in lower case. Special characters should be removed or replaced with words as appropriate (for example, "dotnet" instead of ".NET").
**For _all_ workflows, the workflow:**
The workflow filename of publishing workflows should be the name of the language or platform, in lower case, followed by "-publish".
- [ ] Includes a matching `ci/properties/*.properties.json` file.
- [ ] Use sentence case for the names of workflows and steps, for example "Run tests".
- [ ] The name of CI workflows should only be the name of the language or platform: for example "Go" (not "Go CI" or "Go Build")
- [ ] Include comments in the workflow for any parts that are not obvious or could use clarification.
- [ ] CI workflows should run on `push` to `branches: [ $default-branch ]` and `pull_request` to `branches: [ $default-branch ]`.
- [ ] Should be contained in a `.yml` file with the language or platform as its filename, in lower, [_kebab-cased_](https://en.wikipedia.org/wiki/Kebab_case) format (for example, [`docker-image.yml`](https://github.com/actions/starter-workflows/blob/main/ci/docker-image.yml)). Special characters should be removed or replaced with words as appropriate (for example, "dotnet" instead of ".NET").
- [ ] 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.
**For _CI_ workflows, the workflow:**
- [ ] Should be preserved under [the `ci` directory](https://github.com/actions/starter-workflows/tree/main/ci).
- [ ] Should include a matching `ci/properties/*.properties.json` file (for example, [`ci/properties/docker-publish.properties.json`](https://github.com/actions/starter-workflows/blob/main/ci/properties/docker-publish.properties.json)).
- [ ] Should run on `push` to `branches: [ $default-branch ]` and `pull_request` to `branches: [ $default-branch ]`.
- [ ] Packaging workflows should run on `release` with `types: [ created ]`.
- [ ] Code Scanning workflows should run on `push` to `branches: [ $default-branch, $protected-branches ]` and `pull_request` to `branches: [ $default-branch ]`. We also recommend a `schedule` trigger of `cron: $cron-weekly`.
- [ ] Publishing workflows should have a filename that is the name of the language or platform, in lower case, followed by "-publish" (for example, [`docker-publish.yml`](https://github.com/actions/starter-workflows/blob/main/ci/docker-publish.yml)).
Some general notes:
**For _Code Scanning_ workflows, the workflow:**
- [ ] This workflow must only use actions that are produced by GitHub, [in the `actions` organization](https://github.com/actions), **or**
- [ ] This workflow must only use actions that are produced by the language or ecosystem that the workflow supports. These actions must be [published to the GitHub Marketplace](https://github.com/marketplace?type=actions). We recommend that these actions be referenced using the full 40 character hash of the action's commit instead of a tag. Additionally, workflows must include the following comment at the top of the workflow file:
- [ ] Should be preserved under [the `code-scanning` directory](https://github.com/actions/starter-workflows/tree/main/ci).
- [ ] 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.
- [ ] `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).
- [ ] Should run on `push` to `branches: [ $default-branch, $protected-branches ]` and `pull_request` to `branches: [ $default-branch ]`. We also recommend a `schedule` trigger of `cron: $cron-weekly` (for example, [`codeql.yml`](https://github.com/actions/starter-workflows/blob/c59b62dee0eae1f9f368b7011cf05c2fc42cf084/code-scanning/codeql.yml#L14-L21)).
**Some general notes:**
- [ ] This workflow must _only_ use actions that are produced by GitHub, [in the `actions` organization](https://github.com/actions), **or**
- [ ] This workflow must _only_ use actions that are produced by the language or ecosystem that the workflow supports. These actions must be [published to the GitHub Marketplace](https://github.com/marketplace?type=actions). We require that these actions be referenced using the full 40 character hash of the action's commit instead of a tag. Additionally, workflows must include the following comment at the top of the workflow file:
```
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
+2
View File
@@ -5,6 +5,8 @@ on:
jobs:
build:
permissions:
issues: write
runs-on: ubuntu-latest
steps:
- name: Close Issue
+2
View File
@@ -5,6 +5,8 @@ on:
jobs:
build:
permissions:
issues: write
runs-on: ubuntu-latest
steps:
- name: Close Issue
+16
View File
@@ -0,0 +1,16 @@
name: "Pull Request Labeler"
permissions:
contents: read
pull-requests: write
on:
- pull_request_target
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
+3 -1
View File
@@ -7,12 +7,14 @@ on:
jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
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.'
stale-issue-label: 'no-issue-activity'
+3 -1
View File
@@ -7,6 +7,8 @@ on:
jobs:
sync:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -14,7 +16,7 @@ jobs:
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
git config user.email "cschleiden@github.com"
git config user.name "GitHub Actions"
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '12'
- name: Check starter workflows for GHES compat
+3 -1
View File
@@ -6,11 +6,13 @@ on:
jobs:
validate-data:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: "12"
+1 -1
View File
@@ -1,3 +1,3 @@
* @actions/actions-experience
* @actions/starter-workflows
/code-scanning/ @actions/advanced-security-code-scanning
+1 -1
View File
@@ -19,6 +19,6 @@ Before merging a new workflow, the following requirements need to be met:
- There are many programming languages and tools out there. Right now we don't have a page that allows for a really large number of workflows, so we do have to be a little choosy about what we accept. Less popular tools or languages might not be accepted.
- Automation and CI workflows should not send data to any 3rd party service except for the purposes of installing dependencies.
- Automation and CI workflows cannot be dependent on a paid service or product.
- We recommend that Actions outside of the `actions` organization be pinned to a specific SHA.
- We require that Actions outside of the `actions` organization be pinned to a specific SHA.
Thank you
+28 -6
View File
@@ -10,8 +10,10 @@ These are the workflow files for helping people get started with GitHub Actions.
<img src="https://d3vv6lp55qjaqc.cloudfront.net/items/353A3p3Y2x3c2t2N0c01/Image%202019-08-27%20at%203.25.07%20PM.png" max-width="75%"/>
**Directory structure:**
* [ci](ci): solutions for Continuous Integration
### 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)
* [icons](icons): svg icons for the relevant template
@@ -20,8 +22,28 @@ Each workflow must be written in YAML and have a `.yml` extension. They also nee
For example: `ci/django.yml` and `ci/properties/django.properties.json`.
**Valid properties:**
* `name`: the name shown in onboarding
### Valid properties
* `name`: the name shown in onboarding. This property is unique within the repository.
* `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
* `categories`: the categories that it will be shown under
* `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
* continuous-integration
* deployment
* testing
* code-quality
* code-review
* dependency-management
* monitoring
* Automation
* utilities
### 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
+3
View File
@@ -5,6 +5,9 @@ on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
+3
View File
@@ -12,6 +12,9 @@ jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v2
+9 -1
View File
@@ -1,13 +1,21 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
- cron: "30 1 * * *"
- cron: $cron-daily
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v3
+6 -3
View File
@@ -13,10 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: '11'
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
+4 -3
View File
@@ -16,9 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: '11'
distribution: 'adopt'
- name: Build with Ant
run: ant -noinput -buildfile build.xml
+1 -1
View File
@@ -2,7 +2,7 @@
name: CI
# Controls when the action will run.
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the $default-branch branch
push:
+12 -20
View File
@@ -1,6 +1,10 @@
name: CMake
on: [push]
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
@@ -17,30 +21,18 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory
# We'll use this as our working directory for all subsequent commands
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
shell: bash
working-directory: ${{github.workspace}}/build
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . --config $BUILD_TYPE
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
shell: bash
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C $BUILD_TYPE
run: ctest -C ${{env.BUILD_TYPE}}
+10 -9
View File
@@ -1,3 +1,8 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Dart
on:
@@ -10,18 +15,14 @@ jobs:
build:
runs-on: ubuntu-latest
# Note that this workflow uses the latest stable version of the Dart SDK.
# Docker images for other release channels - like dev and beta - are also
# available. See https://hub.docker.com/r/google/dart/ for the available
# images.
container:
image: google/dart:latest
steps:
- uses: actions/checkout@v2
- name: Print Dart SDK version
run: dart --version
# Note: This workflow uses the latest stable version of the Dart SDK.
# You can specify other versions if desired, see documentation here:
# https://github.com/dart-lang/setup-dart/blob/main/README.md
# - uses: dart-lang/setup-dart@v1
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
- name: Install dependencies
run: dart pub get
+13 -13
View File
@@ -3,8 +3,8 @@
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will install Deno and run tests across stable and nightly builds on Windows, Ubuntu and macOS.
# For more information see: https://github.com/denolib/setup-deno
# This workflow will install Deno then run Deno lint and test.
# For more information see: https://github.com/denoland/setup-deno
name: Deno
@@ -16,24 +16,24 @@ on:
jobs:
test:
runs-on: ${{ matrix.os }} # runs a test on Ubuntu, Windows and macOS
strategy:
matrix:
deno: ["v1.x", "nightly"]
os: [macOS-latest, windows-latest, ubuntu-latest]
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v2
- name: Setup Deno
uses: denolib/setup-deno@c7d7968ad4a59c159a777f79adddad6872ee8d96
# uses: denoland/setup-deno@v1
uses: denoland/setup-deno@004814556e37c54a2f6e31384c9e18e9833173669
with:
deno-version: ${{ matrix.deno }} # tests across multiple Deno versions
deno-version: v1.x
- name: Cache Dependencies
run: deno cache deps.ts
# Uncomment this step to verify the use of 'deno fmt' on each commit.
# - name: Verify formatting
# run: deno fmt --check
- name: Run Tests
- name: Run linter
run: deno lint
- name: Run tests
run: deno test -A --unstable
+47 -60
View File
@@ -1,76 +1,63 @@
name: Docker
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on:
schedule:
- cron: $cron-daily
push:
# Publish `$default-branch` as Docker `latest` image.
branches:
- $default-branch
# Publish `v1.2.3` tags as releases.
tags:
- v*
# Run tests for any PRs.
branches: [ $default-branch ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ $default-branch ]
env:
# TODO: Change variable to your image's name.
IMAGE_NAME: image
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
jobs:
# Run tests.
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: |
if [ -f docker-compose.test.yml ]; then
docker-compose --file docker-compose.test.yml build
docker-compose --file docker-compose.test.yml run sut
else
docker build . --file Dockerfile
fi
# Push image to GitHub Packages.
# See also https://docs.docker.com/docker-hub/builds/
push:
# Ensure test job passes before pushing image.
needs: test
build:
runs-on: ubuntu-latest
if: github.event_name == 'push'
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v2
- name: Build image
run: docker build . --file Dockerfile --tag $IMAGE_NAME
# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Log into registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
# Extract metadata (tags, labels) for Docker
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Push image
run: |
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/$IMAGE_NAME
# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
# Strip git ref prefix from version
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
# Strip "v" prefix from tag name
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
# Use Docker `latest` tag convention
[ "$VERSION" == "$default-branch" ] && VERSION=latest
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
+2 -2
View File
@@ -75,7 +75,7 @@ jobs:
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@2008f912f56e61277eefaac6d1888b750582aa16
uses: microsoft/setup-msbuild@v1.0.2
# Execute all unit tests in the solution
- name: Execute unit tests
@@ -107,7 +107,7 @@ jobs:
- name: Remove the pfx
run: Remove-Item -path $env:Wap_Project_Directory\$env:Signing_Certificate
# Upload the MSIX package: https://github.com/marketplace/actions/upload-artifact
# Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
+3 -3
View File
@@ -15,10 +15,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: actions/setup-elixir@v1
uses: erlef/setup-beam@988e02bfe678367a02564f65ca2e37726dc0268f
with:
elixir-version: '1.10.3' # Define the elixir version [required]
otp-version: '22.3' # Define the OTP version [required]
elixir-version: '1.12.3' # Define the elixir version [required]
otp-version: '24.1' # Define the OTP version [required]
- name: Restore dependencies cache
uses: actions/cache@v2
with:
+3
View File
@@ -10,6 +10,9 @@ jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
go-version: 1.17
- name: Build
run: go build -v ./...
+8 -4
View File
@@ -1,5 +1,5 @@
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#publishing-using-gradle
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-gradle
name: Gradle Package
@@ -11,13 +11,17 @@ jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: '11'
distribution: 'adopt'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
+6 -4
View File
@@ -1,4 +1,4 @@
# This workflow will build a Java project with Gradle
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
@@ -16,10 +16,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: '11'
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
+4 -2
View File
@@ -25,7 +25,8 @@ jobs:
scheme: ${{ 'default' }}
platform: ${{ 'iOS Simulator' }}
run: |
device=`instruments -s -devices | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
if [ $scheme = default ]; then scheme=$(cat default); fi
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
@@ -35,7 +36,8 @@ jobs:
scheme: ${{ 'default' }}
platform: ${{ 'iOS Simulator' }}
run: |
device=`instruments -s -devices | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
if [ $scheme = default ]; then scheme=$(cat default); fi
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
+1 -1
View File
@@ -17,4 +17,4 @@ jobs:
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: shivammathur/setup-php@b7d1d9c9a92d8d8463ce36d7f60da34d461724f8
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
with:
php-version: '8.0'
- uses: actions/checkout@v2
+27
View File
@@ -0,0 +1,27 @@
name: Makefile CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: configure
run: ./configure
- name: Install dependencies
run: make
- name: Run check
run: make check
- name: Run distcheck
run: make distcheck
+9 -5
View File
@@ -1,5 +1,5 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path
name: Maven Package
@@ -11,13 +11,17 @@ jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: '11'
distribution: 'adopt'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
@@ -27,4 +31,4 @@ jobs:
- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}
+6 -4
View File
@@ -1,4 +1,4 @@
# This workflow will build a Java project with Maven
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
@@ -16,9 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: '11'
distribution: 'adopt'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v2
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
uses: microsoft/setup-msbuild@v1.0.2
- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
+4 -3
View File
@@ -1,4 +1,4 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
@@ -16,15 +16,16 @@ jobs:
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
node-version: [12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
+28
View File
@@ -0,0 +1,28 @@
name: NodeJS with Grunt
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
grunt
+28
View File
@@ -0,0 +1,28 @@
name: NodeJS with Gulp
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
gulp
+9 -6
View File
@@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 14
- run: npm ci
- run: npm test
@@ -23,9 +23,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
@@ -35,11 +35,14 @@ jobs:
publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 14
registry-url: $registry-url(npm)
- run: npm ci
- run: npm publish
+30
View File
@@ -0,0 +1,30 @@
name: Xcode - Build and Analyze
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
name: Build and analyse default scheme using xcodebuild command
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Default Scheme
run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n")
default=$(echo $scheme_list | ruby -e "require 'json'; puts JSON.parse(STDIN.gets)['project']['targets'][0]")
echo $default | cat >default
echo Using default scheme: $default
- name: Build
env:
scheme: ${{ 'default' }}
run: |
if [ $scheme = default ]; then scheme=$(cat default); fi
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
xcodebuild clean build analyze -scheme "$scheme" -"$filetype_parameter" "$file_to_build" | xcpretty && exit ${PIPESTATUS[0]}
-152
View File
@@ -1,152 +0,0 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
### The OpenShift Starter workflow will:
# - Checkout your repository
# - Perform a Docker build
# - Push the built image to an image registry
# - Log in to your OpenShift cluster
# - Create an OpenShift app from the image and expose it to the internet.
### Before you begin:
# - Have write access to a container image registry such as quay.io or Dockerhub.
# - Have access to an OpenShift cluster.
# - For instructions to get started with OpenShift see https://www.openshift.com/try
# - The project you wish to add this workflow to should have a Dockerfile.
# - If you don't have a Dockerfile at the repository root, see the buildah-build step.
# - Builds from scratch are also available, but require more configuration.
### To get the workflow running:
# 1. Add this workflow to your repository.
# 2. Edit the top-level 'env' section, which contains a list of environment variables that must be configured.
# 3. Create the secrets referenced in the 'env' section under your repository Settings.
# 4. Edit the 'branches' in the 'on' section to trigger the workflow on a push to your branch.
# 5. Commit and push your changes.
# For a more sophisticated example, see https://github.com/redhat-actions/spring-petclinic/blob/main/.github/workflows/petclinic-sample.yaml
# Also see our GitHub organization, https://github.com/redhat-actions/
name: OpenShift
# ⬇️ Modify the fields marked with ⬇️ to fit your project, and create any secrets that are referenced.
# https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets
env:
# ⬇️ EDIT with your registry and registry path.
REGISTRY: quay.io/<username>
# ⬇️ EDIT with your registry username.
REGISTRY_USER: <username>
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
# ⬇️ EDIT to log into your OpenShift cluster and set up the context.
# See https://github.com/redhat-actions/oc-login#readme for how to retrieve these values.
OPENSHIFT_SERVER: ${{ secrets.OPENSHIFT_SERVER }}
OPENSHIFT_TOKEN: ${{ secrets.OPENSHIFT_TOKEN }}
# ⬇️ EDIT with the port your application should be accessible on.
APP_PORT: 8080
# ⬇️ EDIT if you wish to set the kube context's namespace after login. Leave blank to use the default namespace.
OPENSHIFT_NAMESPACE: ""
# If you wish to manually provide the APP_NAME and TAG, set them here, otherwise they will be auto-detected.
APP_NAME: ""
TAG: ""
on:
# https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
push:
# Edit to the branch(es) you want to build and deploy on each push.
branches: [ $default-branch ]
jobs:
openshift-ci-cd:
name: Build and deploy to OpenShift
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Determine app name
if: env.APP_NAME == ''
run: |
echo "APP_NAME=$(basename $PWD)" | tee -a $GITHUB_ENV
- name: Determine tag
if: env.TAG == ''
run: |
echo "TAG=${GITHUB_SHA::7}" | tee -a $GITHUB_ENV
# https://github.com/redhat-actions/buildah-build#readme
- name: Build from Dockerfile
uses: redhat-actions/buildah-build@v1
with:
image: ${{ env.APP_NAME }}
tag: ${{ env.TAG }}
# If you don't have a dockerfile, see:
# https://github.com/redhat-actions/buildah-build#building-from-scratch
# Otherwise, point this to your Dockerfile relative to the repository root.
dockerfiles: |
./Dockerfile
# https://github.com/redhat-actions/push-to-registry#readme
- name: Push to registry
id: push-to-registry
uses: redhat-actions/push-to-registry@v1
with:
image: ${{ env.APP_NAME }}
tag: ${{ env.TAG }}
registry: ${{ env.REGISTRY }}
username: ${{ env.REGISTRY_USER }}
password: ${{ env.REGISTRY_PASSWORD }}
# The path the image was pushed to is now stored in ${{ steps.push-to-registry.outputs.registry-path }}
# oc-login works on all platforms, but oc must be installed first.
# The GitHub Ubuntu runner already includes oc.
# Otherwise, https://github.com/redhat-actions/oc-installer#readme is available.
# https://github.com/redhat-actions/oc-login#readme
- name: Log in to OpenShift
uses: redhat-actions/oc-login@v1
with:
openshift_server_url: ${{ env.OPENSHIFT_SERVER }}
openshift_token: ${{ env.OPENSHIFT_TOKEN }}
insecure_skip_tls_verify: true
namespace: ${{ env.OPENSHIFT_NAMESPACE }}
# This step should create a deployment, service, and route to run your app and expose it to the internet.
# Feel free to replace this with 'oc apply', 'helm install', or however you like to deploy your app.
- name: Create and expose app
run: |
export IMAGE="${{ steps.push-to-registry.outputs.registry-path }}"
export PORT=${{ env.APP_PORT }}
export SELECTOR="app=${{ env.APP_NAME }}"
echo "SELECTOR=$SELECTOR" >> $GITHUB_ENV
set -x
# Take down any old deployment
oc delete all --selector="$SELECTOR"
oc new-app --name $APP_NAME --docker-image="$IMAGE"
# Make sure the app port is exposed
oc patch svc $APP_NAME -p "{ \"spec\": { \"ports\": [{ \"name\": \"$PORT-tcp\", \"port\": $PORT }] } }"
oc expose service $APP_NAME --port=$PORT
oc get all --selector="$SELECTOR"
set +x
export ROUTE="$(oc get route $APP_NAME -o jsonpath='{.spec.host}')"
echo "$APP_NAME is exposed at $ROUTE"
echo "ROUTE=$ROUTE" >> $GITHUB_ENV
- name: View application route
run: |
[[ -n ${{ env.ROUTE }} ]] || (echo "Determining application route failed in previous step"; exit 1)
echo "======================== Your application is available at: ========================"
echo ${{ env.ROUTE }}
echo "==================================================================================="
echo
echo "Your app can be taken down with: \"oc delete all --selector='${{ env.SELECTOR }}'\""
+2 -3
View File
@@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2
- name: Validate composer.json and composer.lock
run: composer validate
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
@@ -27,8 +27,7 @@ jobs:
${{ runner.os }}-php-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
run: composer install --prefer-dist --no-progress
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Ada",
"description": "Build Ada project with GPRbuild.",
"iconName": "ada",
"categories": ["Ada"]
"categories": ["Continuous integration", "Ada"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Android CI",
"description": "Build an Android project with Gradle.",
"iconName": "android",
"categories": ["Java", "Mobile"]
"categories": ["Continuous integration", "Java", "Mobile"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Java with Ant",
"description": "Build and test a Java project with Apache Ant.",
"iconName": "ant",
"categories": ["Ant", "Java"]
"categories": ["Continuous integration", "Ant", "Java"]
}
+1
View File
@@ -1,6 +1,7 @@
{
"name": "Simple workflow",
"description": "Start with a file with the minimum necessary structure.",
"creator": "GitHub",
"iconName": "blank",
"categories": null
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "C/C++ with Make",
"description": "Build and test a C/C++ project using Make.",
"iconName": "c-cpp",
"categories": ["C", "C++"]
"categories": ["Continuous integration", "C", "C++"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Clojure",
"description": "Build and test a Clojure project with Leiningen.",
"iconName": "clojure",
"categories": ["Clojure", "Java"]
"categories": ["Continuous integration", "Clojure", "Java"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "CMake based projects",
"description": "Build and test a CMake based project.",
"iconName": "cmake",
"categories": ["C", "C++"]
"categories": ["Continuous integration", "C", "C++"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Crystal",
"description": "Build and test a Crystal project.",
"iconName": "crystal",
"categories": ["Crystal"]
"categories": ["Continuous integration", "Crystal"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "D",
"description": "Build and test a D project with dub.",
"iconName": "d",
"categories": [ "D" ]
"categories": ["Continuous integration", "D"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Dart",
"description": "Build and test a Dart project with Pub.",
"iconName": "dart",
"categories": ["Dart"]
"categories": ["Continuous integration", "Dart"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Deno",
"description": "Test your Deno project",
"iconName": "deno",
"categories": ["JavaScript", "TypeScript", "Deno"]
"categories": ["Continuous integration", "JavaScript", "TypeScript", "Deno"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Django",
"description": "Build and Test a Django Project",
"iconName": "django",
"categories": ["Python", "Django"]
"categories": ["Continuous integration", "Python", "Django"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Docker image",
"description": "Build a Docker image to deploy, run, or push to a registry.",
"iconName": "docker",
"categories": ["Dockerfile"]
"categories": ["Continuous integration", "Dockerfile"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Publish Docker Container",
"description": "Build, test and push Docker image to GitHub Packages.",
"iconName": "docker",
"categories": ["Dockerfile"]
"categories": ["Continuous integration", "Dockerfile"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": ".NET Desktop",
"description": "Build, test, sign and publish a desktop application built on .NET.",
"iconName": "dotnet",
"categories": ["C#", "Visual Basic", "WPF", ".NET"]
"categories": ["Continuous integration", "C#", "Visual Basic", "WPF", ".NET"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": ".NET",
"description": "Build and test a .NET or ASP.NET Core project.",
"iconName": "dotnet",
"categories": ["C#", "F#", "Visual Basic", "ASP", "ASP.NET", ".NET"]
"categories": ["Continuous integration", "C#", "F#", "Visual Basic", "ASP", "ASP.NET", ".NET", "AspNetCore", "DotNetConsole"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Elixir",
"description": "Build and test an Elixir project with Mix.",
"iconName": "elixir",
"categories": ["Elixir", "Erlang"]
"categories": ["Continuous integration", "Elixir", "Erlang"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Erlang",
"description": "Build and test an Erlang project with rebar.",
"iconName": "erlang",
"categories": ["Erlang"]
"categories": ["Continuous integration", "Erlang"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Ruby Gem",
"description": "Pushes a Ruby Gem to RubyGems and GitHub Package Registry.",
"iconName": "ruby-gems",
"categories": ["Ruby", "SDLC"]
"categories": ["Continuous integration", "Ruby"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Go",
"description": "Build a Go project.",
"iconName": "go",
"categories": ["Go"]
"categories": ["Continuous integration", "Go"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Publish Java Package with Gradle",
"description": "Build a Java Package using Gradle and publish to GitHub Packages.",
"iconName": "gradle",
"categories": ["Java", "Gradle"]
"categories": ["Continuous integration", "Java", "Gradle", "Spring", "JSF"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Java with Gradle",
"description": "Build and test a Java project using a Gradle wrapper script.",
"iconName": "gradle",
"categories": ["Java", "Gradle"]
"categories": ["Continuous integration", "Java", "Gradle", "Spring", "JSF"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Haskell",
"description": "Build and test a Haskell project with Cabal.",
"iconName": "haskell",
"categories": ["Haskell"]
"categories": ["Continuous integration", "Haskell"]
}
+1
View File
@@ -3,6 +3,7 @@
"description": "Build and test an iOS application using xcodebuild and any available iPhone simulator.",
"iconName": "xcode",
"categories": [
"Continuous integration",
"iOS",
"Xcode"
]
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Jekyll",
"description": "Package a Jekyll site using the jekyll/builder Docker image.",
"iconName": "jekyll",
"categories": ["HTML"]
"categories": ["Continuous integration", "HTML"]
}
+1
View File
@@ -3,6 +3,7 @@
"description": "Test a Laravel project.",
"iconName": "php",
"categories": [
"Continuous integration",
"PHP",
"Laravel"
]
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Build projects with Make",
"description": "Build and test a project using Make.",
"iconName": "makefile",
"categories": ["Continuous integration", "Makefile"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Publish Java Package with Maven",
"description": "Build a Java Package using Maven and publish to GitHub Packages.",
"iconName": "maven",
"categories": ["Java", "Maven"]
"categories": ["Continuous integration", "Java", "Maven", "Spring", "JSF"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Java with Maven",
"description": "Build and test a Java project with Apache Maven.",
"iconName": "maven",
"categories": ["Java", "Maven"]
"categories": ["Continuous integration", "Java", "Maven", "Spring", "JSF"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "MSBuild based projects",
"description": "Build a MSBuild based project.",
"iconName": "c-cpp",
"categories": ["C", "C++"]
"categories": ["Continuous integration", "C", "C++"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Node.js",
"description": "Build and test a Node.js project with npm.",
"iconName": "nodejs",
"categories": ["JavaScript", "Node", "Npm"]
"categories": ["Continuous integration", "JavaScript", "npm", "React", "Angular", "Vue"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Grunt",
"description": "Build a NodeJS project with npm and grunt.",
"iconName": "grunt",
"categories": ["Continuous integration", "JavaScript", "TypeScript", "npm", "Grunt"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Gulp",
"description": "Build a NodeJS project with npm and gulp.",
"iconName": "gulp",
"categories": ["Continuous integration", "JavaScript", "TypeScript", "npm", "Gulp"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Publish Node.js Package",
"description": "Publishes a Node.js package to npm and GitHub Packages.",
"iconName": "node-package-transparent",
"categories": ["JavaScript", "SDLC"]
"categories": ["Continuous integration", "JavaScript", "npm"]
}
@@ -0,0 +1,6 @@
{
"name": "Xcode - Build and Analyze",
"description": "Build Xcode project using xcodebuild",
"iconName": "xcode",
"categories": ["Continuous integration", "Xcode", "Objective-C"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "PHP",
"description": "Build and test a PHP application using Composer",
"iconName": "php",
"categories": ["PHP", "Composer"]
"categories": ["Continuous integration", "PHP", "Composer"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Pylint",
"description": "Lint a Python application with pylint.",
"iconName": "python",
"categories": ["Python"]
"categories": ["Continuous integration", "Python", "Bottle", "Flask"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Python application",
"description": "Create and test a Python application.",
"iconName": "python",
"categories": ["Python"]
"categories": ["Continuous integration", "Python", "Bottle", "Flask"]
}
@@ -2,5 +2,5 @@
"name": "Python Package using Anaconda",
"description": "Create and test a Python package on multiple Python versions using Anaconda for package management.",
"iconName": "python",
"categories": ["Python"]
"categories": ["Continuous integration", "Python"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Python package",
"description": "Create and test a Python package on multiple Python versions.",
"iconName": "python",
"categories": ["Python"]
"categories": ["Continuous integration", "Python", "Bottle", "Flask"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Publish Python Package",
"description": "Publish a Python Package to PyPI on release.",
"iconName": "python",
"categories": ["Python"]
"categories": ["Continuous integration", "Python"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "R package",
"description": "Create and test an R package on multiple R versions.",
"iconName": "r",
"categories": ["R"]
"categories": ["Continuous integration", "R"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Ruby",
"description": "Build and test a Ruby project with Rake.",
"iconName": "ruby",
"categories": ["Ruby"]
"categories": ["Continuous integration", "Ruby"]
}
@@ -0,0 +1,6 @@
{
"name": "Rails - Install Dependencies and Run Linters",
"description": "Install dependencies and run linters on Rails application",
"iconName": "ruby",
"categories": ["Continuous integration", "Ruby", "Rails"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Rust",
"description": "Build and test a Rust project with Cargo.",
"iconName": "rust",
"categories": ["Rust"]
"categories": ["Continuous integration", "Rust"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Scala",
"description": "Build and test a Scala project with SBT.",
"iconName": "scala",
"categories": ["Scala", "Java"]
"categories": ["Continuous integration", "Scala", "Java"]
}
@@ -0,0 +1,6 @@
{
"name": "Super Linter - Run Linters for several languages",
"description": "Run linters for several languages on your code base for changed files",
"iconName": "octicon check-circle",
"categories": ["Continuous integration", "code-quality", "code-review"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Swift",
"description": "Build and test a Swift Package.",
"iconName": "swift",
"categories": ["Swift"]
"categories": ["Continuous integration", "Swift"]
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "Symfony",
"description": "Test a Symfony project.",
"iconName": "php",
"categories": [
"Continuous integration",
"PHP",
"Symfony"
]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Webpack",
"description": "Build a NodeJS project with npm and webpack.",
"iconName": "webpack",
"categories": ["Continuous integration", "JavaScript", "TypeScript", "npm", "Webpack"]
}
+6 -5
View File
@@ -4,15 +4,16 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
+2 -2
View File
@@ -16,10 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
+2 -2
View File
@@ -10,10 +10,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.10
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
+2 -1
View File
@@ -14,8 +14,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
+14 -9
View File
@@ -1,11 +1,16 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Upload Python Package
on:
release:
types: [created]
types: [published]
jobs:
deploy:
@@ -21,11 +26,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
+3 -3
View File
@@ -16,15 +16,15 @@ on:
jobs:
build:
runs-on: macOS-latest
runs-on: macos-latest
strategy:
matrix:
r-version: [3.5, 3.6]
r-version: ['3.6.3', '4.1.1']
steps:
- uses: actions/checkout@v2
- name: Set up R ${{ matrix.r-version }}
uses: r-lib/actions/setup-r@ffe45a39586f073cc2e9af79c4ba563b657dc6e3
uses: r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a
with:
r-version: ${{ matrix.r-version }}
- name: Install dependencies
+32
View File
@@ -0,0 +1,32 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies, and run linters
name: Rails - Install dependencies and run linters
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Ruby and install gems
uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
with:
bundler-cache: true
# Add or Replace any other security checks here
- name: Run security checks
run: |
bin/bundler-audit --update
bin/brakeman -q -w2
# Add or Replace any other Linters here
- name: Run linters
run: |
bin/rubocop --parallel
+4 -3
View File
@@ -13,9 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: '11'
distribution: 'adopt'
- name: Run tests
run: sbt test

Some files were not shown because too many files have changed in this diff Show More