Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
groups:
github-actions:
patterns: ["*"]
schedule:
interval: "weekly"
cooldown:
default-days: 7
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:

- name: 'Checking out repo code'
uses: actions/checkout@v2
uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0

- name: 'Validate build'
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/defaultLabels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/stale@v3
- uses: actions/stale@98ed4cb500039dbcccf4bd9bedada4d0187f2757 # v3.0.19
name: Setting issue as idle
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -24,7 +24,7 @@ jobs:
operations-per-run: 100
exempt-issue-labels: 'backlog'

- uses: actions/stale@v3
- uses: actions/stale@98ed4cb500039dbcccf4bd9bedada4d0187f2757 # v3.0.19
name: Setting PR as idle
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/github_actions_test_releases_v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0

- name: Modify the sample app
run: |
Expand All @@ -29,7 +29,7 @@ jobs:
echo "The placeholder has been replaced with current UTC time: $current_utc_time"

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
with:
dotnet-version: '8.x'

Expand All @@ -40,7 +40,7 @@ jobs:
run: dotnet publish dotnetapp/DOTNET_8_APP.csproj -c Release -o myapp

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: .net-app
path: myapp
Expand All @@ -61,7 +61,7 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0

- name: modify Node.js App
run: |
Expand All @@ -72,7 +72,7 @@ jobs:
echo "The placeholder has been replaced with current UTC time: $current_utc_time"

- name: Set up Node.js version
uses: actions/setup-node@v3
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: '20.x'

Expand All @@ -84,7 +84,7 @@ jobs:
npm run test --if-present

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: node-app
path: nodeapp
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/github_actions_test_releases_v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0

- name: Modify the sample app
run: |
Expand All @@ -29,7 +29,7 @@ jobs:
echo "The placeholder has been replaced with current UTC time: $current_utc_time"

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
with:
dotnet-version: '8.x'

Expand All @@ -40,7 +40,7 @@ jobs:
run: dotnet publish dotnetapp/DOTNET_8_APP.csproj -c Release -o myapp

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: .net-app
path: myapp
Expand All @@ -61,7 +61,7 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0

- name: modify Node.js App
run: |
Expand All @@ -72,7 +72,7 @@ jobs:
echo "The placeholder has been replaced with current UTC time: $current_utc_time"

- name: Set up Node.js version
uses: actions/setup-node@v3
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: '18.x'

Expand All @@ -84,13 +84,13 @@ jobs:
npm run test --if-present

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: node-app
path: nodeapp

- name: Login to Azure
uses: azure/login@v2
uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_NODEAPP1 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/github_actions_test_v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0

- name: Modify the sample app
run: |
Expand All @@ -29,7 +29,7 @@ jobs:
echo "The placeholder has been replaced with current UTC time: $current_utc_time"

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
with:
dotnet-version: '8.x'

Expand All @@ -40,14 +40,14 @@ jobs:
run: dotnet publish dotnetapp/DOTNET_8_APP.csproj -c Release -o myapp

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: .net-app
path: myapp

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
uses: azure/webapps-deploy@5cfb776471c748b351e1ebf5770e208a54ace016 # v2.2.19
with:
app-name: 'lwasv2-euap-dotnet-githubactionstest-v2'
slot-name: 'Production'
Expand All @@ -61,7 +61,7 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0

- name: modify Node.js App
run: |
Expand All @@ -72,7 +72,7 @@ jobs:
echo "The placeholder has been replaced with current UTC time: $current_utc_time"

- name: Set up Node.js version
uses: actions/setup-node@v3
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: '20.x'

Expand All @@ -84,14 +84,14 @@ jobs:
npm run test --if-present

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: node-app
path: nodeapp

- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
uses: azure/webapps-deploy@5cfb776471c748b351e1ebf5770e208a54ace016 # v2.2.19
with:
app-name: 'lwasv2-euap-node-githubactions-v2'
slot-name: 'Production'
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/github_actions_test_v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0

- name: Modify the sample app
run: |
Expand All @@ -29,7 +29,7 @@ jobs:
echo "The placeholder has been replaced with current UTC time: $current_utc_time"

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
with:
dotnet-version: '8.x'

Expand All @@ -40,14 +40,14 @@ jobs:
run: dotnet publish dotnetapp/DOTNET_8_APP.csproj -c Release -o myapp

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: .net-app
path: myapp

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
uses: azure/webapps-deploy@02a81bead70021f5284939794bcec79c271ab383 # v3.0.8
with:
app-name: 'lwasv2-euap-dotnet-githubactionstest-v3'
slot-name: 'Production'
Expand All @@ -61,7 +61,7 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0

- name: modify Node.js App
run: |
Expand All @@ -72,7 +72,7 @@ jobs:
echo "The placeholder has been replaced with current UTC time: $current_utc_time"

- name: Set up Node.js version
uses: actions/setup-node@v3
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: '18.x'

Expand All @@ -84,14 +84,14 @@ jobs:
npm run test --if-present

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: node-app
path: nodeapp

- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
uses: azure/webapps-deploy@02a81bead70021f5284939794bcec79c271ab383 # v3.0.8
with:
app-name: 'lwasv2-euap-node-githubactions-v3'
slot-name: 'Production'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr_check_webapp_dotnet_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0

- uses: actions/checkout@master
with:
Expand All @@ -46,7 +46,7 @@ jobs:
path: 'dotnetsample'

- name: Install Nuget
uses: nuget/setup-nuget@v1
uses: nuget/setup-nuget@296fd3ccf8528660c91106efefe2364482f86d6f # v1.2.0
with:
nuget-version: ${{ env.NUGET_VERSION}}
- name: NuGet to restore dependencies as well as project-specific tools that are specified in the project file
Expand All @@ -56,12 +56,12 @@ jobs:
nuget restore

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
uses: microsoft/setup-msbuild@c26a08ba26249b81327e26f6ef381897b6a8754d # v1.0.2

- name: Run MSBuild
run: msbuild .\dotnetsample\SampleWebApplication.sln

- uses: actions/checkout@v2
- uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0
name: Checkout from PR branch
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
Expand All @@ -75,7 +75,7 @@ jobs:
npm run package

- name: Azure authentication
uses: azure/login@v2
uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout from PR branch
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
path: 'webapps-deploy'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
echo "branch=releases/${MAJOR}" >> $GITHUB_OUTPUT

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
ref: ${{ inputs.revert == true && inputs.tag || steps.version.outputs.branch }}
fetch-depth: 0
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows_container_pubprofile_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id-token: write
steps:
- name: 'Checkout Github Action'
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
repository: GH-ACE/python_container_App
ref: main
Expand All @@ -44,7 +44,7 @@ jobs:
run: docker logout ${{ env.CONTAINER_REGISTRY }}

- name: Login to Azure Container Registry
uses: azure/docker-login@83efeb77770c98b620c73055fbb59b2847e17dc0 # v1
uses: azure/docker-login@83efeb77770c98b620c73055fbb59b2847e17dc0 # v1.0.1
with:
login-server: ${{ env.CONTAINER_REGISTRY }}
username: ${{ secrets.WEBDEPLOY_TEST_ACR_USERNAME }}
Expand All @@ -58,7 +58,7 @@ jobs:
docker push ${{ env.CONTAINER_REGISTRY }}/containerwebapp/canaryreplica:latest

- name: Set Web App ACR authentication
uses: Azure/appservice-settings@1808c4fbba4b8723107948a295d396a5c0e33dcd # v1
uses: Azure/appservice-settings@1808c4fbba4b8723107948a295d396a5c0e33dcd # v1.1.1
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
app-settings-json: |
Expand All @@ -81,7 +81,7 @@ jobs:
]

- name: Checkout trusted action commit
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
path: 'webapps-deploy'
persist-credentials: false
Expand Down