Skip to content

Instantly share code, notes, and snippets.

View Ajithkumarparthasarathy's full-sized avatar

Ajith Ajithkumarparthasarathy

View GitHub Profile
jobs:
test_flow:
runs-on: ubuntu-latest
steps:
– uses: actions/checkout@v2
– run: echo "Hello Spritle!"
name: "Testing Workflow"
on:
push:
branches:
– main
jobs:
test_flow:
runs-on: ubuntu-latest
jobs:
test_flow:
runs-on: ubuntu-latest
steps:
– uses: actions/checkout@v2
– run: echo "Hello Spritle!"
jobs:
print_hello:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo "Hello World!"
#preexisting actions which we are using
steps:
- uses: actions/checkout@v2
#we are using the ubuntu runner here
runs-on: ubuntu-latest
# This is Event
on:
push:
branches:
- main
tag_prefix: "A" # Creating every tag starting with the "A"
release_name: "Release <RELEASE_VERSION>" # Creating every release name starting with the "Release"
changelog:
exclude:
labels:
- ignore-for-release #A list of labels that exclude a pull request from appearing in release notes
categories:
- title: Breaking Changes 🛠
labels:
- breaking-issue
- breaking #Add breaking or breaking-issues label to create the release tag with the title "Breaking Changes 🛠"
- title: Exciting New Features 🎉
on:
push:
branches:
- main
jobs:
release-on-push:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps: