Merge pull request #1 from actions/main
Merge branch 'actions:main' into soosdast
This commit is contained in:
@@ -12,5 +12,5 @@ jobs:
|
|||||||
- uses: actions/first-interaction@v1
|
- uses: actions/first-interaction@v1
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
issue-message: 'Message that will be displayed on users first issue'
|
issue-message: "Message that will be displayed on users' first issue"
|
||||||
pr-message: 'Message that will be displayed on users first pull request'
|
pr-message: "Message that will be displayed on users' first pull request"
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read # for actions/checkout to fetch code
|
contents: read # for actions/checkout to fetch code
|
||||||
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
|
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
|
||||||
|
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the code
|
- name: Checkout the code
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
# Needed to upload the results to code-scanning dashboard.
|
# Needed to upload the results to code-scanning dashboard.
|
||||||
security-events: write
|
security-events: write
|
||||||
|
# Used to receive a badge. (Upcoming feature)
|
||||||
|
id-token: write
|
||||||
actions: read
|
actions: read
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
@@ -27,20 +29,24 @@ jobs:
|
|||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: "Run analysis"
|
- name: "Run analysis"
|
||||||
uses: ossf/scorecard-action@c1aec4ac820532bab364f02a81873c555a0ba3a1 # v1.0.4
|
uses: ossf/scorecard-action@5c8bc69dc88b65c66584e07611df79d3579b0377 # v1.1.0
|
||||||
with:
|
with:
|
||||||
results_file: results.sarif
|
results_file: results.sarif
|
||||||
results_format: sarif
|
results_format: sarif
|
||||||
# Read-only PAT token. To create it,
|
# (Optional) Read-only PAT token. Uncomment the `repo_token` line below if:
|
||||||
# follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation.
|
# - you want to enable the Branch-Protection check on a *public* repository, or
|
||||||
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
|
# - you are installing Scorecards on a *private* repository
|
||||||
# Publish the results to enable scorecard badges. For more details, see
|
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
|
||||||
|
# repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
|
||||||
|
|
||||||
|
# Publish the results for public repositories to enable scorecard badges. For more details, see
|
||||||
# https://github.com/ossf/scorecard-action#publishing-results.
|
# https://github.com/ossf/scorecard-action#publishing-results.
|
||||||
# For private repositories, `publish_results` will automatically be set to `false`,
|
# For private repositories, `publish_results` will automatically be set to `false`, regardless
|
||||||
# regardless of the value entered here.
|
# of the value entered here.
|
||||||
publish_results: true
|
publish_results: true
|
||||||
|
|
||||||
# Upload the results as artifacts (optional).
|
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
||||||
|
# format to the repository Actions tab.
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
|
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -31,6 +31,12 @@
|
|||||||
|
|
||||||
name: Build and deploy an app to AKS with Kompose
|
name: Build and deploy an app to AKS with Kompose
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- $default-branch
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
AZURE_CONTAINER_REGISTRY: "your-azure-container-registry"
|
AZURE_CONTAINER_REGISTRY: "your-azure-container-registry"
|
||||||
CONTAINER_NAME: "your-container-name"
|
CONTAINER_NAME: "your-container-name"
|
||||||
|
|||||||
Reference in New Issue
Block a user