Skip to content

Commit 3c29e18

Browse files
committed
Updated actions to pin to version number
1 parent e091ce2 commit 3c29e18

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

content/what-the-hack/Coach/create-azure-resources.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
on: [workflow_dispatch]
22
name: Create Azure resources
3+
permissions:
4+
contents: read
5+
id-token: write
36
jobs:
47
build-and-deploy:
58
runs-on: ubuntu-latest
69
steps:
710

811
# Checkout code
9-
- uses: actions/checkout@main
12+
- uses: actions/checkout@v4
1013

1114
# Log into Azure
1215
- uses: azure/login@v1

content/what-the-hack/Coach/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ on:
44
- main
55
name: Deploy to Azure
66

7+
permissions:
8+
contents: read
9+
id-token: write
10+
711
jobs:
812
deploy:
913
runs-on: ubuntu-latest
1014
steps:
1115
- name: Checkout code
12-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1317

1418
- name: Log in to Azure
1519
uses: azure/login@v1

0 commit comments

Comments
 (0)