23 Commits

Author SHA1 Message Date
Ashwin Sangem 44278596c1 Testing Partner Toggle, Synced with Main (#1083)
* 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>

* 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

* add codeql workflow to ghes

* restoring from main (#1078)

* Revert "add codeql workflow to ghes branch"

* add codeql workflow to ghes

* only run ghes sync checks on YML files

* only check nwo of supported actions

* Testing Partner Toggle.

Co-authored-by: Varun Sharma <varunsh@stepsecurity.io>
Co-authored-by: step-security[bot] <89328102+step-security[bot]@users.noreply.github.com>
Co-authored-by: Step Security <bot@stepsecurity.io>
Co-authored-by: Aparna Ravindra <82894348+aparna-ravindra@users.noreply.github.com>
Co-authored-by: Nick Fyson <nickfyson@github.com>
2021-09-09 08:35:04 +05:30
aparna-ravindra e56cb5c215 renaming variable 2021-08-24 10:28:09 +05:30
aparna-ravindra 671fc9a635 deployment as a category in properties.json 2021-08-23 11:00:59 +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 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
aparna-ravindra 4ae4e4dcb0 workflow schema 2021-07-22 15:29:31 +05:30
aparna-ravindra 459c27dca6 workflow schema validation 2021-06-17 14:28:48 +05:30
dependabot[bot] 7828f6c354 Bump @actions/core from 1.2.4 to 1.2.6 in /script/validate-data
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.4 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 17:38:26 +00:00
Andy McKay aa2ec78d14 rename to main 2020-07-15 16:21:25 -07:00
Cameron Booth ef82cf1b1a Add creator to validation schema 2020-06-02 13:40:45 -07:00
Christopher Schleiden de4411e097 Ensure "blank" template is available 2020-05-21 14:34:44 -07:00
Christopher Schleiden 15c78f8802 Do not sync workflows without categories to GHES 2020-05-21 11:09:51 -07:00
Cameron Booth 1bb7228652 Report success as well for visibility 2020-05-20 13:28:55 -07:00
Cameron Booth a83abcc872 Script to validate the main parts of workflow data 2020-05-20 13:28:25 -07:00
Christopher Schleiden af4b66354b Only sync svg icons 2020-05-20 10:54:19 -07:00
Christopher Schleiden 88d425bbe7 Sync icons only for supported workflows 2020-05-20 10:40:26 -07:00
Christopher Schleiden 62f6872b4e Move ghes-sync into subfolder 2020-05-20 10:00:39 -07:00
Christopher Schleiden 5802cb7302 Add script and workflow to sync the set of starter-workflows for GHES 2020-05-15 16:49:20 -07:00