-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dashes not underscores in cargo dist fields
- Loading branch information
Showing
314 changed files
with
670,760 additions
and
11 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
.github/actions/download-artifact/.devcontainer/devcontainer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node | ||
{ | ||
"name": "@actions/download-artifact", | ||
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-16" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules/ | ||
lib/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"env": { "node": true, "jest": true }, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { "ecmaVersion": 9, "sourceType": "module" }, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:import/errors", | ||
"plugin:import/warnings", | ||
"plugin:import/typescript", | ||
"plugin:prettier/recommended" | ||
], | ||
"plugins": ["@typescript-eslint"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* text=auto eol=lf | ||
.licenses/** -diff linguist-generated=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @actions/artifacts-actions |
63 changes: 63 additions & 0 deletions
63
.github/actions/download-artifact/.github/ISSUE_TEMPLATE/bug-report.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: "🐛 Bug report" | ||
description: Let us know about a bug! | ||
labels: ['bug'] | ||
title: '[bug]' | ||
body: | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: What happened? | ||
description: | | ||
Please provide a clear and concise description of what the bug is. If applicable, add screenshots to help explain your problem. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: What did you expect to happen? | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: repro | ||
attributes: | ||
label: How can we reproduce it? | ||
description: | | ||
Please be minimal and precise as possible. If your repo/run is public, please include a URL so it is easier for us to investigate. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: additional | ||
attributes: | ||
label: Anything else we need to know? | ||
|
||
- type: input | ||
id: version | ||
attributes: | ||
label: What version of the action are you using? | ||
placeholder: vX.Y.Z | ||
description: | | ||
Please check the documentation first since different major versions can have different behaviors. | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: environment | ||
attributes: | ||
label: What are your runner environments? | ||
multiple: true | ||
options: | ||
- self-hosted | ||
- linux | ||
- window | ||
- macos | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: ghes | ||
attributes: | ||
label: Are you on GitHub Enterprise Server? If so, what version? | ||
placeholder: vX.Y |
5 changes: 5 additions & 0 deletions
5
.github/actions/download-artifact/.github/ISSUE_TEMPLATE/config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: 🙋 Ask a question | ||
url: https://github.community/c/code-to-cloud/52 | ||
about: Please ask and answer questions on GitHub Support Community. |
28 changes: 28 additions & 0 deletions
28
.github/actions/download-artifact/.github/ISSUE_TEMPLATE/documentation-issues.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: "📚 Documentation issues" | ||
description: Make a suggestion to improve the documentation! | ||
labels: ['documentation'] | ||
title: '[docs]' | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
❗ This is only for documentation updates for files in this repo, ie: `README.md`. | ||
If you want to suggest changes for the [GitHub Docs](https://docs.github.com/), please [open an issue there](https://github.com/github/docs/issues/new/choose). | ||
- type: textarea | ||
id: affected | ||
attributes: | ||
label: What files would you like to change? | ||
description: | | ||
Please provide permalinks to the specified files and line numbers. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: suggested | ||
attributes: | ||
label: What are your suggested changes? | ||
description: | | ||
Give as much detail as you can to help us understand the changes you want to see. | ||
validations: | ||
required: true |
20 changes: 20 additions & 0 deletions
20
.github/actions/download-artifact/.github/ISSUE_TEMPLATE/feature-request.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: "🎁 Feature request" | ||
description: Suggest a new feature/enhancement! | ||
labels: ['enhancement'] | ||
title: '[feat req]' | ||
body: | ||
- type: textarea | ||
id: feature | ||
attributes: | ||
label: What would you like to be added? | ||
description: | | ||
Please check existing issues to avoid making duplicates. Any duplicate issue will be closed immediately. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: reasoning | ||
attributes: | ||
label: Why is this needed? | ||
validations: | ||
required: true |
53 changes: 53 additions & 0 deletions
53
.github/actions/download-artifact/.github/workflows/check-dist.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# `dist/index.js` is a special file in Actions. | ||
# When you reference an action with `uses:` in a workflow, | ||
# `index.js` is the code that will run. | ||
# For our project, we generate this file through a build process | ||
# from other source files. | ||
# We need to make sure the checked-in `index.js` actually matches what we expect it to be. | ||
name: Check dist/ | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- '**.md' | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
check-dist: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Node 20 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Rebuild the dist/ directory | ||
run: npm run build | ||
|
||
- name: Compare the expected and actual dist/ directories | ||
run: | | ||
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then | ||
echo "Detected uncommitted changes after build. See status below:" | ||
git diff | ||
exit 1 | ||
fi | ||
id: diff | ||
|
||
# If index.js was different than expected, upload the expected version as an artifact | ||
- uses: actions/upload-artifact@v4 | ||
if: ${{ failure() && steps.diff.conclusion == 'failure' }} | ||
with: | ||
name: dist | ||
path: dist/ |
49 changes: 49 additions & 0 deletions
49
.github/actions/download-artifact/.github/workflows/codeql-analysis.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: "Code scanning - action" | ||
|
||
on: | ||
push: | ||
branches-ignore: "dependabot/**" | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
schedule: | ||
- cron: '0 11 * * 5' | ||
|
||
jobs: | ||
CodeQL-Build: | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
# CodeQL runs on ubuntu-latest and windows-latest | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
# Override language selection by uncommenting this and choosing your languages | ||
# with: | ||
# languages: go, javascript, csharp, python, cpp, java | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 https://git.io/JvXDl | ||
|
||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
# and modify them (or add more) to build your code if your project | ||
# uses a compiled language | ||
|
||
#- run: | | ||
# make bootstrap | ||
# make release | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
24 changes: 24 additions & 0 deletions
24
.github/actions/download-artifact/.github/workflows/licensed.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Licensed | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: Check licenses | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: npm ci | ||
- name: Install licensed | ||
run: | | ||
cd $RUNNER_TEMP | ||
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz | ||
sudo tar -xzf licensed.tar.gz | ||
sudo mv licensed /usr/local/bin/licensed | ||
- run: licensed status |
27 changes: 27 additions & 0 deletions
27
.github/actions/download-artifact/.github/workflows/release-new-action-version.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Release new action version | ||
on: | ||
release: | ||
types: [released] | ||
workflow_dispatch: | ||
inputs: | ||
TAG_NAME: | ||
description: 'Tag name that the major tag will point to' | ||
required: true | ||
|
||
env: | ||
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
update_tag: | ||
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes | ||
environment: | ||
name: releaseNewActionVersion | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Update the ${{ env.TAG_NAME }} tag | ||
uses: actions/[email protected] | ||
with: | ||
source-tag: ${{ env.TAG_NAME }} | ||
slack-webhook: ${{ secrets.SLACK_WEBHOOK }} |
Oops, something went wrong.