Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi Hadeli authored Jan 2, 2023
1 parent 6f52841 commit 54ae486
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/conventional-release-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#https://dev.to/github/how-to-automatically-generate-release-notes-for-your-project-2ng8
#https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
#https://github.com/bcoe/conventional-release-labels

# add label to pul request based on convectional commit
on:
pull_request_target:
types: [ opened, edited ]
name: conventional-release-labels
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: bcoe/conventional-release-labels@v1
20 changes: 20 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# https://github.com/TimonVS/pr-labeler-action
name: PR Labeler
on:
pull_request:
types: [opened]

permissions:
contents: read

jobs:
pr-labeler:
permissions:
contents: read # for TimonVS/pr-labeler-action to read config file
pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR
runs-on: ubuntu-latest
steps:
- uses: TimonVS/pr-labeler-action@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value
19 changes: 19 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# # https://johanneskonings.dev/github/2021/02/28/github_automatic_releases_and-changelog/
# # https://tiagomichaelsousa.dev/articles/stop-writing-your-changelogs-manually
# name: Release Drafter

# on:
# push:
# branches:
# - main

# jobs:
# update_release_draft:
# name: Release drafter
# runs-on: ubuntu-latest

# steps:
# - name: Update Release Draft
# uses: release-drafter/release-drafter@v5
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# https://github.com/google-github-actions/release-please-action#how-release-please-works
# https://www.conventionalcommits.org/en/v1.0.0/
on:
push:
branches:
- main
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: go
package-name: release-please-action

0 comments on commit 54ae486

Please sign in to comment.