Merge branch 'actions:main' into add-credo-workflow
This commit is contained in:
@@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v7
|
- uses: actions/stale@v8
|
||||||
with:
|
with:
|
||||||
stale-issue-message: 'This issue has become stale and will be closed automatically within a period of time. Sorry about that.'
|
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-pr-message: 'This pull request has become stale and will be closed automatically within a period of time. Sorry about that.'
|
||||||
|
|||||||
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
* @actions/starter-workflows
|
* @actions/actions-workflow-development-reviewers
|
||||||
|
|
||||||
/code-scanning/ @actions/advanced-security-code-scanning @actions/starter-workflows
|
/code-scanning/ @actions/advanced-security-code-scanning @actions/actions-workflow-development-reviewers
|
||||||
/pages/ @actions/pages @actions/starter-workflows
|
/pages/ @actions/pages @actions/actions-workflow-development-reviewers
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ on:
|
|||||||
default: 'World'
|
default: 'World'
|
||||||
# Input has to be provided for the workflow to run
|
# Input has to be provided for the workflow to run
|
||||||
required: true
|
required: true
|
||||||
|
# The data type of the input
|
||||||
|
type: string
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
@@ -27,4 +29,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# Runs a single command using the runners shell
|
# Runs a single command using the runners shell
|
||||||
- name: Send greeting
|
- name: Send greeting
|
||||||
run: echo "Hello ${{ github.event.inputs.name }}"
|
run: echo "Hello ${{ inputs.name }}"
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ jobs:
|
|||||||
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
||||||
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
||||||
# uses: ruby/setup-ruby@v1
|
# uses: ruby/setup-ruby@v1
|
||||||
uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
|
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
|
||||||
with:
|
with:
|
||||||
ruby-version: ${{ matrix.ruby-version }}
|
ruby-version: ${{ matrix.ruby-version }}
|
||||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||||
|
|||||||
+2
-2
@@ -30,7 +30,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
# Add or replace dependency steps here
|
# Add or replace dependency steps here
|
||||||
- name: Install Ruby and gems
|
- name: Install Ruby and gems
|
||||||
uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
|
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
|
||||||
with:
|
with:
|
||||||
bundler-cache: true
|
bundler-cache: true
|
||||||
# Add or replace database setup steps here
|
# Add or replace database setup steps here
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install Ruby and gems
|
- name: Install Ruby and gems
|
||||||
uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
|
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
|
||||||
with:
|
with:
|
||||||
bundler-cache: true
|
bundler-cache: true
|
||||||
# Add or replace any other lints here
|
# Add or replace any other lints here
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
|
|
||||||
# Customize the ruby version depending on your needs
|
# Customize the ruby version depending on your needs
|
||||||
- name: Setup Ruby
|
- name: Setup Ruby
|
||||||
uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
|
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
|
||||||
with:
|
with:
|
||||||
ruby-version: '2.7'
|
ruby-version: '2.7'
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
name: Analyze
|
name: Analyze
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
|
||||||
|
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
actions: read
|
||||||
contents: read
|
contents: read
|
||||||
@@ -51,7 +52,7 @@ jobs:
|
|||||||
# By default, queries listed here will override any specified in a config file.
|
# By default, queries listed here will override any specified in a config file.
|
||||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||||
|
|
||||||
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||||
# queries: security-extended,security-and-quality
|
# queries: security-extended,security-and-quality
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "CodeQL Analysis",
|
"name": "CodeQL Analysis",
|
||||||
"creator": "GitHub",
|
"creator": "GitHub",
|
||||||
"enterprise": true,
|
"enterprise": true,
|
||||||
"description": "Security analysis from GitHub for C, C++, C#, Go, Java, JavaScript, TypeScript, Python, Ruby and Kotlin developers.",
|
"description": "Security analysis from GitHub for C, C++, C#, Go, Java, JavaScript, TypeScript, Python, Ruby, Kotlin and Swift developers.",
|
||||||
"iconName": "octicon mark-github",
|
"iconName": "octicon mark-github",
|
||||||
"categories": ["Code Scanning", "C", "C++", "C#", "Go", "Java", "JavaScript", "TypeScript", "Python", "Ruby", "Kotlin"]
|
"categories": ["Code Scanning", "C", "C++", "C#", "Go", "Java", "JavaScript", "TypeScript", "Python", "Ruby", "Kotlin", "Swift"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Ruby
|
- name: Setup Ruby
|
||||||
uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
|
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.7
|
ruby-version: 2.7
|
||||||
bundler-cache: true
|
bundler-cache: true
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
# If running on a self-hosted runner, check it meets the requirements
|
# If running on a self-hosted runner, check it meets the requirements
|
||||||
# listed at https://github.com/ruby/setup-ruby#using-self-hosted-runners
|
# listed at https://github.com/ruby/setup-ruby#using-self-hosted-runners
|
||||||
- name: Set up Ruby
|
- name: Set up Ruby
|
||||||
uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
|
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.6
|
ruby-version: 2.6
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,7 @@ name: Deploy container to Azure Functions App
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [$default-branch]
|
||||||
- [$default-branch]
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
@@ -20,8 +20,7 @@ name: Deploy DotNet project to Azure Function App
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [$default-branch]
|
||||||
- [$default-branch]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
||||||
|
|||||||
@@ -20,8 +20,7 @@ name: Deploy Gradle Java project to Azure Function App
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [$default-branch]
|
||||||
- [$default-branch]
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
@@ -20,8 +20,7 @@ name: Deploy Java project to Azure Function App
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [$default-branch]
|
||||||
- [$default-branch]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
||||||
|
|||||||
@@ -22,8 +22,7 @@ name: Deploy Node.js project to Azure Function App
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [$default-branch]
|
||||||
- [$default-branch]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
||||||
|
|||||||
@@ -20,8 +20,7 @@ name: Deploy PowerShell project to Azure Function App
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [$default-branch]
|
||||||
- [$default-branch]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
||||||
|
|||||||
@@ -20,8 +20,7 @@ name: Deploy Python project to Azure Function App
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [$default-branch]
|
||||||
- [$default-branch]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure
|
||||||
|
|||||||
+2
-2
@@ -49,7 +49,7 @@ jobs:
|
|||||||
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
|
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
echo "Unable to determine packager manager"
|
echo "Unable to determine package manager"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
@@ -85,4 +85,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v1
|
uses: actions/deploy-pages@v2
|
||||||
|
|||||||
+2
-2
@@ -48,7 +48,7 @@ jobs:
|
|||||||
echo "command=ci" >> $GITHUB_OUTPUT
|
echo "command=ci" >> $GITHUB_OUTPUT
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
echo "Unable to determine packager manager"
|
echo "Unable to determine package manager"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
@@ -94,4 +94,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v1
|
uses: actions/deploy-pages@v2
|
||||||
|
|||||||
+1
-1
@@ -72,4 +72,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v1
|
uses: actions/deploy-pages@v2
|
||||||
|
|||||||
@@ -48,4 +48,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v1
|
uses: actions/deploy-pages@v2
|
||||||
|
|||||||
+2
-2
@@ -34,7 +34,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Setup Ruby
|
- name: Setup Ruby
|
||||||
uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
|
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
|
||||||
with:
|
with:
|
||||||
ruby-version: '3.1' # Not needed with a .ruby-version file
|
ruby-version: '3.1' # Not needed with a .ruby-version file
|
||||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||||
@@ -61,4 +61,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v1
|
uses: actions/deploy-pages@v2
|
||||||
|
|||||||
+1
-1
@@ -57,4 +57,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v1
|
uses: actions/deploy-pages@v2
|
||||||
|
|||||||
+2
-2
@@ -45,7 +45,7 @@ jobs:
|
|||||||
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
|
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
echo "Unable to determine packager manager"
|
echo "Unable to determine package manager"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
@@ -92,4 +92,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v1
|
uses: actions/deploy-pages@v2
|
||||||
|
|||||||
+2
-2
@@ -43,7 +43,7 @@ jobs:
|
|||||||
echo "command=ci" >> $GITHUB_OUTPUT
|
echo "command=ci" >> $GITHUB_OUTPUT
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
echo "Unable to determine packager manager"
|
echo "Unable to determine package manager"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
@@ -87,4 +87,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v1
|
uses: actions/deploy-pages@v2
|
||||||
|
|||||||
+1
-1
@@ -40,4 +40,4 @@ jobs:
|
|||||||
path: '.'
|
path: '.'
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v1
|
uses: actions/deploy-pages@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user