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
10 changes: 10 additions & 0 deletions .github/workflows/hello.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Hello

on: [push]

jobs:
say-hello:
runs-on: ubuntu-latest
steps:
- name: Say hello
run: echo "hello"
13 changes: 13 additions & 0 deletions .github/workflows/secret.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Use Secret Token
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use secret in env
run: echo "The secret is $MY_SECRET_TOKEN"
env:
MY_SECRET_TOKEN: ${{ secrets.MY_SECRET_TOKEN }}