Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.
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
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run Azure Login with OpenID Connect
on: [workflow_dispatch]

permissions:
id-token: write
contents: read

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: 'Az CLI login'
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: 'Run Azure CLI commands'
run: |
az account show
az group list
pwd
25 changes: 25 additions & 0 deletions .github/workflows/first-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: first-workflow
on:
push:
branches:
- main
jobs:
Explore-Github-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "Step 1 complete"
- run: echo "Step 2 complete"
Run-Cowsays:
runs-on: ubuntu-latest
needs: Explore-Github-Actions
steps:
- name: Ship it
uses: mscoutermarsh/cowsays-action@master
with:
text: "Ready for prod-ship-it"
color: magenta





12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: first-workflow
on:
push:
branches:
- master
jobs:
Explore-Github-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "Step 1 complete"
- run: echo "Step 2 complete"

2 changes: 1 addition & 1 deletion Application/src/RazorPagesTestSample/Data/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class Message

[Required]
[DataType(DataType.Text)]
[StringLength(200, ErrorMessage = "There's a 200 character limit on messages. Please shorten your message.")]
[StringLength(250, ErrorMessage = "There's a 250 character limit on messages. Please shorten your message.")]
public string Text { get; set; }
}
#endregion
Expand Down
Empty file added LANALLAI.md
Empty file.