Compare commits

...

84 Commits

Author SHA1 Message Date
Jonathan Clem 193749b5aa Remove build cache from Phoenix
Validate Data / validate-data (push) Has been cancelled
2020-07-14 15:44:53 -04:00
Jonathan Clem c79b395ae3 Add better note for POSTGRES_DB in Phoenix workflow 2020-07-14 15:44:44 -04:00
Jonathan Clem 4afa7ab9ef Change name to Phoenix 2020-07-14 15:44:34 -04:00
Jonathan Clem 9d2ef9d746 Add Phoenix starter workflow 2020-07-14 15:40:29 -04:00
Christopher Schleiden 920aa0286c Merge pull request #590 from actions/cschleiden/use-default-branch-token
Use $default-branch token
2020-07-14 11:11:20 -07:00
Christopher Schleiden 7ed78293f7 Use repository link 2020-07-13 12:13:03 -07:00
Christopher Schleiden abf7f258d1 Use $default-branch token 2020-07-13 12:12:41 -07:00
Christopher Schleiden 7e9fc80858 Merge pull request #583 from actions/cschleiden/move-manual-to-automation
Move manual workflow template to automation category
2020-07-09 11:07:19 -07:00
Christopher Schleiden d84eed709f Move manual workflow template to automation category 2020-07-09 08:32:58 -07:00
Christopher Schleiden 4aa38dfed2 Merge pull request #579 from actions/cschleiden/add-manual-template
Add manually triggered workflow template
2020-07-08 12:03:22 -07:00
Christopher Schleiden b79be1ea1a Add manually triggered workflow template 2020-07-07 14:07:47 -07:00
Jonathan Clem be562a7239 Merge pull request #185 from iangreenleaf/elixir-caching
Add caching to Elixir workflow
2020-07-01 17:06:52 -04:00
Jonathan Clem 9995e35e75 Cache only Elixir dependencies, not build 2020-07-01 17:06:09 -04:00
Jonathan Clem cb6cee5157 Update elixir.yml 2020-07-01 14:14:45 -04:00
Jonathan Clem 97ae763335 Merge branch 'master' into elixir-caching 2020-07-01 14:13:53 -04:00
Jonathan Clem b4f1aae32f Use sentence casing 2020-07-01 14:09:21 -04:00
Jonathan Clem 3dc05114be Merge pull request #571 from henrik/patch-3
elixir.yml: Specify latest Elixir/OTP versions
2020-07-01 14:08:36 -04:00
Jonathan Clem ac240939ca Merge branch 'master' into patch-3 2020-07-01 14:06:15 -04:00
Jonathan Clem b0521d7270 Merge pull request #570 from henrik/patch-1
elixir.yml: More consistent case
2020-06-30 10:46:45 -04:00
Henrik Nyh 0159b6df78 elixir.yml: Specify latest Elixir/OTP versions
There is an OTP 23.0 but 22.3 is the max that latest Elixir supports currently.
2020-06-29 17:20:56 +01:00
Henrik Nyh e4f46dac76 elixir.yml: More consistent case
When running this action, it will show steps like "Set up job", "Initialize containers" and "Complete job", which are not in Title Case. Nor is "Set up Elixir".

(Some steps like "Post Restore cache" are some sort of half-Title Case, but they seem to be in the minority.)
2020-06-29 17:13:20 +01:00
Konrad Pabjan 7ce8ea570d Merge pull request #569 from actions/jclem-patch-1
Improve name of "Setup elixir" step in Elixir workflow
2020-06-29 18:04:30 +02:00
Jonathan Clem f1fa7ed328 Improve name of "Setup elixir" step in Elixir workflow 2020-06-29 11:44:45 -04:00
Andy McKay 3c3736f598 Merge pull request #552 from MasterOdin/patch-1
Update php cache key to use php in its name
2020-06-17 16:12:09 -07:00
Matthew Peveler 330ca7d1bd Update php cache key to use php in its name
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2020-06-16 18:44:47 -04:00
Andy McKay 0170fa5239 Merge pull request #544 from actions/andymckay-patch-2
Change the cron for stale
2020-06-08 08:35:02 -07:00
Andy McKay b4362decc9 Change the cron for stale
Let's move the recommended stale cron tab away from 00:00 UTC
2020-06-08 08:30:24 -07:00
Cameron Booth 2ffdd0654e Merge pull request #537 from actions/cdb/creator
Add creator field and populate for partner templates
2020-06-03 09:42:59 -07:00
Cameron Booth 4ad3f70666 Fix creator name
Co-authored-by: Christopher Schleiden <cschleiden@live.de>
2020-06-02 21:57:58 -07:00
Cameron Booth ef82cf1b1a Add creator to validation schema 2020-06-02 13:40:45 -07:00
Cameron Booth b7eff1ebe9 Add creator to partner workflows 2020-06-02 13:40:33 -07:00
Chris Patterson 87a8d83e30 Merge pull request #194 from christeredvartsen/feature/cache-composer-packages
PHP: Use actions/cache for the Composer packages
2020-05-27 10:59:05 -04:00
Chris Patterson 9fd65b230c Merge branch 'master' into feature/cache-composer-packages 2020-05-27 10:51:16 -04:00
Chris Patterson 297af984ba Update ci/php.yml 2020-05-27 10:49:51 -04:00
Andy McKay acf744fba2 Merge pull request #495 from ChristophDietrich/patch-1
Update docker-publish.yml
2020-05-25 13:20:05 -07:00
Andy McKay a6347ae487 Merge branch 'master' into patch-1 2020-05-25 13:19:11 -07:00
Andy McKay 95df65269a Merge pull request #501 from HonkingGoose/patch-1
Remove deprecated '--no-suggest' flag
2020-05-25 13:16:57 -07:00
Andy McKay e99fd3f99c Merge pull request #496 from bjornstar/add-node-14
Add node v14
2020-05-25 13:13:33 -07:00
Andy McKay 74d3867049 Merge branch 'master' into add-node-14 2020-05-25 13:12:59 -07:00
Andy McKay 54a75270fc Update pull_request_template.md 2020-05-25 13:10:00 -07:00
Andy McKay 0195d47eee Update pull_request_template.md 2020-05-25 13:09:29 -07:00
Andy McKay 5f92f1fdcc Merge pull request #436 from jakejarvis/docs-properties-file
docs: Correct location of corresponding properties.json files
2020-05-25 13:03:54 -07:00
Andy McKay 26cd848b53 Merge branch 'master' into docs-properties-file 2020-05-25 13:02:46 -07:00
Andy McKay 861a79590c Rename main.yml to label-close.yml 2020-05-25 12:57:07 -07:00
Andy McKay 9d886e00f9 Create main.yml 2020-05-25 12:55:49 -07:00
Andy McKay b188e5bd5b Merge pull request #515 from stevemar/cleanup-iks
clean up IBM title and icon
2020-05-25 12:52:14 -07:00
Andy McKay c36e34100d Merge branch 'master' into cleanup-iks 2020-05-25 12:51:37 -07:00
Andy McKay 9171a83a7a Merge pull request #527 from shesek/patch-1
Rust: Enable cargo colors for prettier output
2020-05-25 12:48:55 -07:00
Nadav Ivgi 15d943af34 Rust: Enable cargo colors for prettier output 2020-05-24 08:21:13 +03:00
Edward Thomson b109c5bb93 Merge pull request #494 from edwardskrod/dev/edskrod/master/UpdateName
Update workflow name from "WPF .NET Core" to ".NET Core Desktop"
2020-05-22 20:48:12 +01:00
Edward Skrod f7188c3581 Resolved merge conflict. 2020-05-22 14:58:35 -04:00
Christopher Schleiden 05c6db96ec Merge pull request #520 from actions/cschleiden/reduce-ghes-workflows
Do not sync workflows without categories to GHES
2020-05-22 08:44:20 -07:00
Steve Martinelli 958d73b16f Merge branch 'master' into cleanup-iks 2020-05-21 18:24:17 -04:00
Christopher Schleiden de4411e097 Ensure "blank" template is available 2020-05-21 14:34:44 -07:00
Edward Skrod 0ac0954673 Remove WindowsForms 2020-05-21 17:33:37 -04:00
Christopher Schleiden bf6f0d9476 Merge branch 'master' into cschleiden/reduce-ghes-workflows 2020-05-21 14:16:48 -07:00
Cameron Booth 4828a683d0 Merge pull request #522 from actions/cdb/job-name
Update workflow job name
2020-05-21 14:16:04 -07:00
Cameron Booth 249441a642 Update job name 2020-05-21 13:55:36 -07:00
Christopher Schleiden 75ab82ca92 Merge pull request #521 from actions/jclem-patch-1
Define OTP/Elixir versions as strings
2020-05-21 13:35:46 -07:00
Jonathan Clem ec3fe32d43 Define OTP/Elixir versions as strings
As now [recommended](https://github.com/actions/setup-elixir/tree/2071beb570a53fb599fbd638d0a4f4577d57143d#usage) in the action's README, the configuration versions should be strings so that YAML parsing doesn't truncate something like `23.0` to `23`, which isn't equivalent.
2020-05-21 16:32:47 -04:00
Cameron Booth c63b77dfb3 Merge pull request #488 from edwardskrod/patch-1
Update the description with the proper case
2020-05-21 12:07:13 -07:00
Cameron Booth 727a831173 Merge pull request #492 from timdorr/patch-1
Fix source image name on docker tag
2020-05-21 11:54:55 -07:00
Christopher Schleiden 15c78f8802 Do not sync workflows without categories to GHES 2020-05-21 11:09:51 -07:00
Cameron Booth 60749c6653 Merge pull request #518 from cdb/cdb/dont-fail-on-no-changes
Don't fail GHES workflow if nothing changed
2020-05-20 16:43:49 -07:00
Cameron Booth 9a0a11423d Name the workflow 2020-05-20 16:31:33 -07:00
Cameron Booth 74c1e87c6b Don’t fail if no changes 2020-05-20 16:31:20 -07:00
Cameron Booth 9ea914b370 Merge pull request #517 from cdb/cdb/validate-data
Workflow to validate starter-workflows data is setup correctly
2020-05-20 16:03:12 -07:00
Cameron Booth 1bb7228652 Report success as well for visibility 2020-05-20 13:28:55 -07:00
Cameron Booth 3dd92068cf Add missing icons 2020-05-20 13:28:44 -07:00
Cameron Booth a83abcc872 Script to validate the main parts of workflow data 2020-05-20 13:28:25 -07:00
Christopher Schleiden 70c22e93a3 Name GHES sync workflow 2020-05-20 11:39:30 -07:00
Steve Martinelli e16f45a27f Update ibm.properties.json
one last tweak on official name
2020-05-18 23:13:25 -04:00
Steve Martinelli 641db8990d clean up IBM title and icon
using a different icon for IBM Cloud, ran svgo on it, too.
2020-05-17 22:16:47 -04:00
HonkingGoose 6eb7d7ec62 Remove deprecated '--no-suggest' flag
From the upgrade guide for Composer v2.0:
> Deprecated --no-suggest flag as it is not needed anymore

https://github.com/composer/composer/blob/master/UPGRADE-2.0.md#for-composer-cli-users
2020-05-08 10:48:15 +02:00
Bjorn Stromberg e4d7e16da8 Add node v14 2020-05-05 11:33:35 +09:00
Christoph Dietrich 7176a039ba Update docker-publish.yml
If you change the IMAGE_NAME to something which is not "image" it will fail, because at the bottom was a hard fix "image" inside. 

Now its running.
2020-05-04 12:42:34 +02:00
Edward Skrod fc935ad052 Added 'sign' to the workflow description. 2020-05-03 08:12:18 -04:00
Edward Skrod 6ea0e1fa16 Reword the description. 2020-05-03 08:04:10 -04:00
Edward Skrod dd7519f49e Rename the workflow files and properties files from WPF to Desktop. 2020-05-03 07:57:14 -04:00
Tim Dorr f543db49db Fix source image name on docker tag
This resolves an issue created by #472
2020-05-01 18:53:57 -04:00
Edward Skrod 951dfd0da3 Update the description with the proper case
Update the "Wpf" in the description  to "WPF" to reflect the proper case.
2020-05-01 06:56:47 -04:00
Jake Jarvis 4411c79d20 docs: Correct location of corresponding properties.json files
These *.properties.json files need to go in the properties/ subfolder of ci/ or automation/, not the root. Fixed example accordingly.
2020-03-24 11:38:16 -04:00
Christer Edvartsen f1662044f7 Use actions/cache for the Composer packages 2019-11-14 15:24:32 +01:00
Ian Young 1a5f94bc68 Add caching to Elixir workflow 2019-11-07 12:47:49 -06:00
59 changed files with 588 additions and 189 deletions
+15 -7
View File
@@ -1,7 +1,17 @@
Thank you for sending in this pull request. Please make sure you take a look at the [contributing file](https://github.com/actions/starter-workflows/blob/master/CONTRIBUTING.md). Here's a few things for you to consider in this pull request:
This repository contains configuration for what users see when they click on the `Actions` tab.
- [ ] Include a good description of the workflow.
- [ ] Links to the language or tool will be nice (unless its really obvious)
It is not:
* A playground to try out scripts
* A place for you to create a workflow for your repository
---
Thank you for sending in this pull request. Please make sure you take a look at the [contributing file](https://github.com/actions/starter-workflows/blob/master/CONTRIBUTING.md). Here's a few things for you to consider in this pull request.
Please **add to this description** at the bottom :point_down:
- [ ] A good description of the workflow at the bottom of this page.
- [ ] Some links to the language or tool will be nice (unless its really obvious)
In the workflow and properties files:
@@ -13,14 +23,12 @@ In the workflow and properties files:
- [ ] 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: [ master ]` and `pull_request` to `branches: [ master ]`.
Packaging workflows should run on `release` with `types: [ created ]`.
- [ ] Packaging workflows should run on `release` with `types: [ created ]`.
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). Workflows using these actions must reference the action 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 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). Workflows using these actions must reference the action 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
+19
View File
@@ -0,0 +1,19 @@
name: Close as a support issue
on:
issues:
types: [labeled]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Close Issue
uses: peter-evans/close-issue@v1
if: contains(github.event.issue.labels.*.name, 'support')
with:
comment: |
Sorry, but we'd like to keep issues related to code in this repository. Thank you 🙇
If you have questions about writing workflows or action files, then please [visit the GitHub Community Forum's Actions Board](https://github.community/t5/GitHub-Actions/bd-p/actions)
If you are having an issue or question about GitHub Actions then please [contact customer support](https://help.github.com/en/articles/about-github-actions#contacting-support)
+8 -2
View File
@@ -1,3 +1,5 @@
name: Sync workflows for GHES
on:
push:
branches:
@@ -22,5 +24,9 @@ jobs:
working-directory: ./script/sync-ghes
- run: |
git add -A
git commit -m "Updating GHES workflows"
- run: git push
if [ -z "$(git status --porcelain)" ]; then
echo "No changes to commit"
else
git commit -m "Updating GHES workflows"
fi
- run: git push
+21
View File
@@ -0,0 +1,21 @@
name: Validate Data
on:
push:
pull_request:
jobs:
validate-data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: Validate workflows
run: |
npm ci
npx ts-node-script ./index.ts
working-directory: ./script/validate-data
+1 -1
View File
@@ -17,7 +17,7 @@ These are the workflow files for helping people get started with GitHub Actions.
Each workflow must be written in YAML and have a `.yml` extension. They also need a corresponding `.properties.json` file that contains extra metadata about the workflow (this is displayed in the GitHub.com UI).
For example: `ci/python-django.yml` and `ci/python-django.properties.json`.
For example: `ci/python-django.yml` and `ci/properties/python-django.properties.json`.
**Valid properties:**
* `name`: the name shown in onboarding
+1 -1
View File
@@ -3,7 +3,7 @@
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler/blob/master/README.md
# https://github.com/actions/labeler
name: Labeler
on: [pull_request]
+30
View File
@@ -0,0 +1,30 @@
# This is a basic workflow that is manually triggered
name: Manual workflow
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
name:
# Friendly description to be shown in the UI instead of 'name'
description: 'Person to greet'
# Default value if no value is explicitly provided
default: 'World'
# Input has to be provided for the workflow to run
required: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
greet:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
- name: Send greeting
run: echo "Hello ${{ github.event.inputs.name }}"
@@ -0,0 +1,6 @@
{
"name": "Manual workflow",
"description": "Simple workflow that is manually triggered.",
"iconName": "blank",
"categories": ["Automation"]
}
+1 -1
View File
@@ -2,7 +2,7 @@ name: Mark stale issues and pull requests
on:
schedule:
- cron: "0 0 * * *"
- cron: "30 1 * * *"
jobs:
stale:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Android CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -5,9 +5,9 @@ name: Java CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+3 -3
View File
@@ -3,12 +3,12 @@
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
# events but only for the $default-branch branch
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
+2 -2
View File
@@ -2,9 +2,9 @@ name: C/C++ CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Clojure CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Crystal CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Dart CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Django CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Docker Image CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
+4 -4
View File
@@ -2,9 +2,9 @@ name: Docker
on:
push:
# Publish `master` as Docker `latest` image.
# Publish `$default-branch` as Docker `latest` image.
branches:
- master
- $default-branch
# Publish `v1.2.3` tags as releases.
tags:
@@ -56,7 +56,7 @@ jobs:
- 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]')
@@ -67,7 +67,7 @@ jobs:
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
# Use Docker `latest` tag convention
[ "$VERSION" == "master" ] && VERSION=latest
[ "$VERSION" == "$default-branch" ] && VERSION=latest
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
@@ -3,30 +3,30 @@
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build, test and package a WPF desktop application
# This workflow will build, test, sign and package a WPF or Windows Forms desktop application
# built on .NET Core.
# To learn how to migrate your existing WPF application to .NET Core,
# To learn how to migrate your existing application to .NET Core,
# refer to https://docs.microsoft.com/en-us/dotnet/desktop-wpf/migration/convert-project-from-net-framework
#
# To configure this workflow:
#
# 1. Configure environment variables
# GitHub sets default environment variables for every workflow run.
# GitHub sets default environment variables for every workflow run.
# Replace the variables relative to your project in the "env" section below.
#
#
# 2. Signing
# Generate a signing certificate in the Windows Application
# Generate a signing certificate in the Windows Application
# Packaging Project or add an existing signing certificate to the project.
# Next, use PowerShell to encode the .pfx file using Base64 encoding
# by running the following Powershell script to generate the output string:
#
#
# $pfx_cert = Get-Content '.\SigningCertificate.pfx' -Encoding Byte
# [System.Convert]::ToBase64String($pfx_cert) | Out-File 'SigningCertificate_Encoded.txt'
#
# Open the output file, SigningCertificate_Encoded.txt, and copy the
# string inside. Then, add the string to the repo as a GitHub secret
# and name it "Base64_Encoded_Pfx."
# For more information on how to configure your signing certificate for
# For more information on how to configure your signing certificate for
# this workflow, refer to https://github.com/microsoft/github-actions-for-desktop-apps#signing
#
# Finally, add the signing certificate password to the repo as a secret and name it "Pfx_Key".
@@ -36,13 +36,13 @@
# For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications,
# refer to https://github.com/microsoft/github-actions-for-desktop-apps
name: WPF .NET Core
name: .NET Core Desktop
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
@@ -52,7 +52,7 @@ jobs:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest # For a list of available runner types, refer to
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
env:
@@ -81,8 +81,8 @@ jobs:
- name: Execute unit tests
run: dotnet test
# Restore the WPF application to populate the obj folder with RuntimeIdentifiers
- name: Restore the WPF application
# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
+2 -2
View File
@@ -2,9 +2,9 @@ name: .NET Core
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+31 -24
View File
@@ -1,24 +1,31 @@
name: Elixir CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup elixir
uses: actions/setup-elixir@v1
with:
elixir-version: 1.9.4 # Define the elixir version [required]
otp-version: 22.2 # Define the OTP version [required]
- name: Install Dependencies
run: mix deps.get
- name: Run Tests
run: mix test
name: Elixir CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: actions/setup-elixir@v1
with:
elixir-version: '1.10.3' # Define the elixir version [required]
otp-version: '22.3' # Define the OTP version [required]
- name: Restore dependencies cache
uses: actions/cache@v2
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test
+2 -2
View File
@@ -2,9 +2,9 @@ name: Erlang CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Ruby Gem
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Go
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
+2 -2
View File
@@ -5,9 +5,9 @@ name: Java CI with Gradle
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Haskell CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Jekyll site CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+4 -4
View File
@@ -2,21 +2,21 @@ name: Laravel
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Generate key
run: php artisan key:generate
- name: Directory Permissions
+2 -2
View File
@@ -5,9 +5,9 @@ name: Java CI with Maven
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+3 -3
View File
@@ -5,9 +5,9 @@ name: Node.js CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
@@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
node-version: [10.x, 12.x]
node-version: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
+46
View File
@@ -0,0 +1,46 @@
name: Phoenix
on:
push:
branches: [$default-branch]
pull_request:
branches: [$default-branch]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
env: {MIX_ENV: test}
services:
postgres:
image: postgres:13
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
# NOTE: Replace "phoenix_test" with your DB name from config/test.exs.
POSTGRES_DB: phoenix_test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports: ['5432:5432']
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: actions/setup-elixir@v1
with:
elixir-version: '1.10.3' # Define the elixir version [required]
otp-version: '22.3' # Define the OTP version [required]
- name: Restore dependencies cache
uses: actions/cache@v2
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test
+13 -3
View File
@@ -2,9 +2,9 @@ name: PHP Composer
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
@@ -17,8 +17,18 @@ jobs:
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
+1
View File
@@ -1,6 +1,7 @@
{
"name": "Deploy to Amazon ECS",
"description": "Deploy a container to an Amazon ECS service powered by AWS Fargate or Amazon EC2.",
"creator": "Amazon Web Services",
"iconName": "aws",
"categories": null
}
+1
View File
@@ -1,6 +1,7 @@
{
"name": "Deploy Node.js to Azure Web App",
"description": "Build a Node.js project and deploy it to an Azure Web App.",
"creator": "Microsoft Azure",
"iconName": "azure",
"categories": null
}
@@ -0,0 +1,6 @@
{
"name": ".NET Core Desktop",
"description": "Build, test, sign and publish a desktop application built on .NET Core.",
"iconName": "dotnetcore",
"categories": ["C#", "Visual Basic", "WPF", ".NET"]
}
+1
View File
@@ -1,6 +1,7 @@
{
"name": "Build and Deploy to GKE",
"description": "Build a docker container, publish it to Google Container Registry, and deploy to GKE.",
"creator": "Google Cloud",
"iconName": "googlegke",
"categories": null
}
+3 -2
View File
@@ -1,6 +1,7 @@
{
"name": "Build and Deploy to IKS",
"description": "Build a docker container, publish it to IBM Container Registry, and deploy to IKS.",
"name": "Deploy to IBM Cloud Kubernetes Service",
"description": "Build a docker container, publish it to IBM Cloud Container Registry, and deploy to IBM Cloud Kubernetes Service.",
"creator": "IBM",
"iconName": "ibm",
"categories": null
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Phoenix",
"description": "Build and test an Elixir Phoenix project.",
"iconName": "phoenix",
"categories": ["Elixir", "Erlang", "Phoenix"]
}
+2 -1
View File
@@ -1,6 +1,7 @@
{
"name": "Tencent Kubernetes Engine",
"description": "This workflow will build a docker container, publish and deploy it to Tencent Kubernetes Engine (TKE).",
"creator": "Tencent Cloud",
"iconName": "tencentcloud",
"categories": null
}
}
+1
View File
@@ -1,6 +1,7 @@
{
"name": "Terraform",
"description": "Set up Terraform CLI in your GitHub Actions workflow.",
"creator": "HashiCorp",
"iconName": "terraform",
"categories": null
}
@@ -1,6 +0,0 @@
{
"name": "WPF .NET Core",
"description": "Build, test and publish a Wpf application built on .NET Core.",
"iconName": "dotnetcore",
"categories": ["C#", "Visual Basic", "WPF", ".NET"]
}
+2 -2
View File
@@ -5,9 +5,9 @@ name: Python application
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -5,9 +5,9 @@ name: Python package
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -9,9 +9,9 @@ name: Ruby
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
test:
+5 -2
View File
@@ -2,9 +2,12 @@ name: Rust
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Scala CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Swift
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+6 -6
View File
@@ -1,7 +1,7 @@
# This workflow installs the latest version of Terraform CLI and configures the Terraform CLI configuration file
# with an API token for Terraform Cloud (app.terraform.io). On pull request events, this workflow will run
# `terraform init`, `terraform fmt`, and `terraform plan` (speculative plan via Terraform Cloud). On push events
# to the master branch, `terraform apply` will be executed.
# to the $default-branch branch, `terraform apply` will be executed.
#
# Documentation for `hashicorp/setup-terraform` is located here: https://github.com/hashicorp/setup-terraform
#
@@ -47,7 +47,7 @@ name: 'Terraform'
on:
push:
branches:
- master
- $default-branch
pull_request:
jobs:
@@ -65,7 +65,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
# Install the latest version of Terraform CLI and configure the Terraform CLI configuration file with a Terraform Cloud user API token
# Install the latest version of Terraform CLI and configure the Terraform CLI configuration file with a Terraform Cloud user API token
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
@@ -82,9 +82,9 @@ jobs:
# Generates an execution plan for Terraform
- name: Terraform Plan
run: terraform plan
# On push to master, build or change infrastructure according to Terraform configuration files
# On push to $default-branch, build or change infrastructure according to Terraform configuration files
# Note: It is recommended to set up a required "strict" status check in your repository for "Terraform Cloud". See the documentation on "strict" required status checks for more information: https://help.github.com/en/github/administering-a-repository/types-of-required-status-checks
- name: Terraform Apply
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
if: github.ref == 'refs/heads/$default-branch' && github.event_name == 'push'
run: terraform apply -auto-approve
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="302" height="180" viewBox="0 0 302 180"><g fill="none"><path fill="#252F3E" d="M85.4 65.4c0 3.7.4 6.7 1.1 8.9.8 2.2 1.8 4.6 3.2 7.2.5.8.7 1.6.7 2.3 0 1-.6 2-1.9 3L82.2 91c-.9.6-1.8.9-2.6.9-1 0-2-.5-3-1.4-1.4-1.5-2.6-3.1-3.6-4.7-1-1.7-2-3.6-3.1-5.9-7.8 9.2-17.6 13.8-29.4 13.8-8.4 0-15.1-2.4-20-7.2-4.9-4.8-7.4-11.2-7.4-19.2 0-8.5 3-15.4 9.1-20.6 6.1-5.2 14.2-7.8 24.5-7.8 3.4 0 6.9.3 10.6.8 3.7.5 7.5 1.3 11.5 2.2v-7.3c0-7.6-1.6-12.9-4.7-16-3.2-3.1-8.6-4.6-16.3-4.6-3.5 0-7.1.4-10.8 1.3-3.7.9-7.3 2-10.8 3.4-1.6.7-2.8 1.1-3.5 1.3-.7.2-1.2.3-1.6.3-1.4 0-2.1-1-2.1-3.1v-4.9c0-1.6.2-2.8.7-3.5.5-.7 1.4-1.4 2.8-2.1 3.5-1.8 7.7-3.3 12.6-4.5C40 .9 45.2.3 50.7.3 62.6.3 71.3 3 76.9 8.4c5.5 5.4 8.3 13.6 8.3 24.6v32.4h.2zM44.8 80.6c3.3 0 6.7-.6 10.3-1.8 3.6-1.2 6.8-3.4 9.5-6.4 1.6-1.9 2.8-4 3.4-6.4.6-2.4 1-5.3 1-8.7v-4.2c-2.9-.7-6-1.3-9.2-1.7-3.2-.4-6.3-.6-9.4-.6-6.7 0-11.6 1.3-14.9 4-3.3 2.7-4.9 6.5-4.9 11.5 0 4.7 1.2 8.2 3.7 10.6 2.4 2.5 5.9 3.7 10.5 3.7zm80.3 10.8c-1.8 0-3-.3-3.8-1-.8-.6-1.5-2-2.1-3.9L95.7 9.2c-.6-2-.9-3.3-.9-4 0-1.6.8-2.5 2.4-2.5h9.8c1.9 0 3.2.3 3.9 1 .8.6 1.4 2 2 3.9l16.8 66.2 15.6-66.2c.5-2 1.1-3.3 1.9-3.9.8-.6 2.2-1 4-1h8c1.9 0 3.2.3 4 1 .8.6 1.5 2 1.9 3.9l15.8 67 17.3-67c.6-2 1.3-3.3 2-3.9.8-.6 2.1-1 3.9-1h9.3c1.6 0 2.5.8 2.5 2.5 0 .5-.1 1-.2 1.6-.1.6-.3 1.4-.7 2.5l-24.1 77.3c-.6 2-1.3 3.3-2.1 3.9-.8.6-2.1 1-3.8 1h-8.6c-1.9 0-3.2-.3-4-1-.8-.7-1.5-2-1.9-4L155 22l-15.4 64.4c-.5 2-1.1 3.3-1.9 4-.8.7-2.2 1-4 1h-8.6zm128.5 2.7c-5.2 0-10.4-.6-15.4-1.8-5-1.2-8.9-2.5-11.5-4-1.6-.9-2.7-1.9-3.1-2.8-.4-.9-.6-1.9-.6-2.8v-5.1c0-2.1.8-3.1 2.3-3.1.6 0 1.2.1 1.8.3.6.2 1.5.6 2.5 1 3.4 1.5 7.1 2.7 11 3.5 4 .8 7.9 1.2 11.9 1.2 6.3 0 11.2-1.1 14.6-3.3 3.4-2.2 5.2-5.4 5.2-9.5 0-2.8-.9-5.1-2.7-7-1.8-1.9-5.2-3.6-10.1-5.2L245 51c-7.3-2.3-12.7-5.7-16-10.2-3.3-4.4-5-9.3-5-14.5 0-4.2.9-7.9 2.7-11.1 1.8-3.2 4.2-6 7.2-8.2 3-2.3 6.4-4 10.4-5.2 4-1.2 8.2-1.7 12.6-1.7 2.2 0 4.5.1 6.7.4 2.3.3 4.4.7 6.5 1.1 2 .5 3.9 1 5.7 1.6 1.8.6 3.2 1.2 4.2 1.8 1.4.8 2.4 1.6 3 2.5.6.8.9 1.9.9 3.3v4.7c0 2.1-.8 3.2-2.3 3.2-.8 0-2.1-.4-3.8-1.2-5.7-2.6-12.1-3.9-19.2-3.9-5.7 0-10.2.9-13.3 2.8-3.1 1.9-4.7 4.8-4.7 8.9 0 2.8 1 5.2 3 7.1 2 1.9 5.7 3.8 11 5.5l14.2 4.5c7.2 2.3 12.4 5.5 15.5 9.6 3.1 4.1 4.6 8.8 4.6 14 0 4.3-.9 8.2-2.6 11.6-1.8 3.4-4.2 6.4-7.3 8.8-3.1 2.5-6.8 4.3-11.1 5.6-4.5 1.4-9.2 2.1-14.3 2.1z"/><g fill="#F90"><path d="M272.5 142.7c-32.9 24.3-80.7 37.2-121.8 37.2-57.6 0-109.5-21.3-148.7-56.7-3.1-2.8-.3-6.6 3.4-4.4 42.4 24.6 94.7 39.5 148.8 39.5 36.5 0 76.6-7.6 113.5-23.2 5.5-2.5 10.2 3.6 4.8 7.6z"/><path d="M286.2 127.1c-4.2-5.4-27.8-2.6-38.5-1.3-3.2.4-3.7-2.4-.8-4.5 18.8-13.2 49.7-9.4 53.3-5 3.6 4.5-1 35.4-18.6 50.2-2.7 2.3-5.3 1.1-4.1-1.9 4-9.9 12.9-32.2 8.7-37.5z"/></g></g></svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

+1
View File
@@ -0,0 +1 @@
<svg height="1995" viewBox="0 0 161.67 129" width="2500" xmlns="http://www.w3.org/2000/svg"><path d="m88.33 0-47.66 41.33-40.67 73h36.67zm6.34 9.67-20.34 57.33 39 49-75.66 13h124z" fill="#0072c6"/></svg>

After

Width:  |  Height:  |  Size: 203 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.3 KiB

+1 -61
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 32 KiB

+18 -3
View File
@@ -11,6 +11,16 @@ interface WorkflowDesc {
iconType?: "svg" | "octicon";
}
interface WorkflowProperties {
name: string;
description: string;
iconName?: string;
categories: string[] | null;
}
interface WorkflowsCheckResult {
compatibleWorkflows: WorkflowDesc[];
incompatibleWorkflows: WorkflowDesc[];
@@ -33,16 +43,21 @@ async function checkWorkflows(
for (const e of dir) {
if (e.isFile()) {
const workflowFilePath = join(folder, e.name);
const enabled = await checkWorkflow(workflowFilePath, enabledActions);
const workflowId = basename(e.name, extname(e.name));
const workflowProperties = require(join(
const workflowProperties: WorkflowProperties = require(join(
folder,
"properties",
`${workflowId}.properties.json`
));
const iconName: string | undefined = workflowProperties["iconName"];
const isBlankTemplate = workflowId === "blank";
const partnerWorkflow = workflowProperties.categories === null;
const enabled =
(isBlankTemplate || !partnerWorkflow) &&
(await checkWorkflow(workflowFilePath, enabledActions));
const workflowDesc: WorkflowDesc = {
folder,
id: workflowId,
+119
View File
@@ -0,0 +1,119 @@
#!/usr/bin/env npx ts-node
import { promises as fs } from "fs";
import { safeLoad } from "js-yaml";
import { basename, extname, join } from "path";
import { Validator as validator } from "jsonschema";
import { endGroup, error, info, setFailed, startGroup } from '@actions/core';
interface WorkflowWithErrors {
id: string;
errors: string[];
}
interface WorkflowProperties {
name: string;
description: string;
iconName: string;
categories: string[];
}
const propertiesSchema = {
type: "object",
properties: {
name: { type: "string", required: true },
description: { type: "string", required: true },
creator: { type: "string", required: false },
iconName: { type: "string", required: true },
categories: {
anyOf: [
{
type: "array",
items: { type: "string" }
},
{
type: "null",
}
],
required: true
},
}
}
async function checkWorkflows(folders: string[]): Promise<WorkflowWithErrors[]> {
const result: WorkflowWithErrors[] = []
for (const folder of folders) {
const dir = await fs.readdir(folder, {
withFileTypes: true,
});
for (const e of dir) {
if (e.isFile()) {
const fileType = basename(e.name, extname(e.name))
const workflowFilePath = join(folder, e.name);
const propertiesFilePath = join(folder, "properties", `${fileType}.properties.json`)
const errors = await checkWorkflow(workflowFilePath, propertiesFilePath);
if (errors.errors.length > 0) {
result.push(errors)
}
}
}
}
return result;
}
async function checkWorkflow(workflowPath: string, propertiesPath: string): Promise<WorkflowWithErrors> {
let workflowErrors: WorkflowWithErrors = {
id: workflowPath,
errors: []
}
try {
const workflowFileContent = await fs.readFile(workflowPath, "utf8");
safeLoad(workflowFileContent); // Validate yaml parses without error
const propertiesFileContent = await fs.readFile(propertiesPath, "utf8")
const properties: WorkflowProperties = JSON.parse(propertiesFileContent)
let v = new validator();
const res = v.validate(properties, propertiesSchema)
workflowErrors.errors = res.errors.map(e => e.toString())
if (properties.iconName && !properties.iconName.startsWith("octicon")) {
try {
await fs.access(`../../icons/${properties.iconName}.svg`)
} catch (e) {
workflowErrors.errors.push(`No icon named ${properties.iconName} found`)
}
}
} catch (e) {
workflowErrors.errors.push(e.toString())
}
return workflowErrors;
}
(async function main() {
try {
const settings = require("./settings.json");
const erroredWorkflows = await checkWorkflows(
settings.folders
)
if (erroredWorkflows.length > 0) {
startGroup(`😟 - Found ${erroredWorkflows.length} workflows with errors:`);
erroredWorkflows.forEach(erroredWorkflow => {
error(`Errors in ${erroredWorkflow.id} - ${erroredWorkflow.errors.map(e => e.toString()).join(", ")}`)
})
endGroup();
setFailed(`Found ${erroredWorkflows.length} workflows with errors`);
} else {
info("🎉🤘 - Found no workflows with errors!")
}
} catch (e) {
error(`Unhandled error while syncing workflows: ${e}`);
setFailed(`Unhandled error`)
}
})();
+122
View File
@@ -0,0 +1,122 @@
{
"name": "sync-ghes-actions",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@actions/core": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.4.tgz",
"integrity": "sha512-YJCEq8BE3CdN8+7HPZ/4DxJjk/OkZV2FFIf+DlZTC/4iBlzYCD5yjRR6eiOS5llO11zbRltIRuKAjMKaWTE6cg=="
},
"@types/js-yaml": {
"version": "3.12.4",
"resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-3.12.4.tgz",
"integrity": "sha512-fYMgzN+9e28R81weVN49inn/u798ruU91En1ZnGvSZzCRc5jXx9B2EDhlRaWmcO1RIxFHL8AajRXzxDuJu93+A==",
"dev": true
},
"@types/node": {
"version": "14.0.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.1.tgz",
"integrity": "sha512-FAYBGwC+W6F9+huFIDtn43cpy7+SzG+atzRiTfdp3inUKL2hXnd4rG8hylJLIh4+hqrQy1P17kvJByE/z825hA==",
"dev": true
},
"arg": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
"integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==",
"dev": true
},
"argparse": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
"requires": {
"sprintf-js": "~1.0.2"
}
},
"buffer-from": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
"integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
"dev": true
},
"diff": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
"dev": true
},
"esprima": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="
},
"js-yaml": {
"version": "3.13.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
"integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
"requires": {
"argparse": "^1.0.7",
"esprima": "^4.0.0"
}
},
"jsonschema": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.2.6.tgz",
"integrity": "sha512-SqhURKZG07JyKKeo/ir24QnS4/BV7a6gQy93bUSe4lUdNp0QNpIz2c9elWJQ9dpc5cQYY6cvCzgRwy0MQCLyqA=="
},
"make-error": {
"version": "1.3.6",
"resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
"integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==",
"dev": true
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true
},
"source-map-support": {
"version": "0.5.19",
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz",
"integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==",
"dev": true,
"requires": {
"buffer-from": "^1.0.0",
"source-map": "^0.6.0"
}
},
"sprintf-js": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
"integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
},
"ts-node": {
"version": "8.10.1",
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.10.1.tgz",
"integrity": "sha512-bdNz1L4ekHiJul6SHtZWs1ujEKERJnHs4HxN7rjTyyVOFf3HaJ6sLqe6aPG62XTzAB/63pKRh5jTSWL0D7bsvw==",
"dev": true,
"requires": {
"arg": "^4.1.0",
"diff": "^4.0.1",
"make-error": "^1.1.1",
"source-map-support": "^0.5.17",
"yn": "3.1.1"
}
},
"typescript": {
"version": "3.9.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.2.tgz",
"integrity": "sha512-q2ktq4n/uLuNNShyayit+DTobV2ApPEo/6so68JaD5ojvc/6GClBipedB9zNWYxRSAlZXAe405Rlijzl6qDiSw==",
"dev": true
},
"yn": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
"integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
"dev": true
}
}
}
+21
View File
@@ -0,0 +1,21 @@
{
"name": "validate-data",
"version": "1.0.0",
"main": "index.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "github/c2c-actions-experience",
"license": "MIT",
"devDependencies": {
"@types/js-yaml": "^3.12.4",
"@types/node": "^14.0.1",
"ts-node": "^8.10.1",
"typescript": "^3.9.2"
},
"dependencies": {
"@actions/core": "^1.2.4",
"js-yaml": "^3.13.1",
"jsonschema": "^1.2.6"
}
}
+6
View File
@@ -0,0 +1,6 @@
{
"folders": [
"../../ci",
"../../automation"
]
}
+5
View File
@@ -0,0 +1,5 @@
{
"compilerOptions": {
},
"include": ["*.ts"]
}