Skip to content
Merged
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
14 changes: 14 additions & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Run Every 5 Minutes
# it can be drop from schedule if they experiencing high load.
on:
schedule:
- cron: '*/59 * * * *'

jobs:
cron:
name: Run every 5 minutes
runs-on: ubuntu-latest

steps:
- name: Hello World
run: echo "Hello World"
3 changes: 1 addition & 2 deletions .github/workflows/pr-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ env:
DOTNET_VERSION: '8.0' # set this to the .NET Core version to use

on:
push:
pull_request:
branches: [ "main" ]
workflow_dispatch:

permissions:
contents: read
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/secrets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Secrets workflow

# These are the veriables which you could use in your workflows
env:
API_CSPROJ_PATH: "./src/GitHubActionsDotNet.Api/GitHubActionsDotNet.Api.csproj"

on:
pull_request:
branches: ["main"]


jobs:
secrets:
name: Secrets Demo
runs-on: ubuntu-latest

steps:
- name: echo environment variable
run: echo "$API_CSPROJ_PATH"