change to hugo-blog-awesome theme
This commit is contained in:
parent
113e3650f1
commit
15b6142a8e
131 changed files with 5895 additions and 124 deletions
49
themes/hugo-blog-awesome/.github/workflows/pr-labeler.yml
vendored
Normal file
49
themes/hugo-blog-awesome/.github/workflows/pr-labeler.yml
vendored
Normal file
|
@ -0,0 +1,49 @@
|
|||
name: "Pull Request auto-label"
|
||||
|
||||
on:
|
||||
# Including 'on push' trigger, so that PRs touching the same files as push are checked for conflicts.
|
||||
# PR can be rebased (against main brnach) to resolve conflicts.
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request_target:
|
||||
types: [ opened, synchronize ]
|
||||
|
||||
jobs:
|
||||
conflicts:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: Update PRs with conflict labels
|
||||
uses: eps1lon/actions-label-merge-conflict@657e437ea2533fd743739be26f0a2eeb420b306a # releases/2.1.0
|
||||
with:
|
||||
dirtyLabel: "conflicts"
|
||||
#removeOnDirtyLabel: "PR: ready to ship"
|
||||
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||
commentOnDirty: "This pull request has conflicts with the base branch, please resolve those so that we can review the pull request."
|
||||
commentOnClean: "Conflicts have been resolved! 🎉 A maintainer will soon review the pull request."
|
||||
|
||||
size:
|
||||
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: codelytv/pr-size-labeler@1c3422395d899286d5ee2c809fd5aed264d5eb9b # v1.10.2
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
xs_label: 'size/xs'
|
||||
xs_max_size: 35
|
||||
s_label: 'size/s'
|
||||
s_max_size: 75
|
||||
m_label: 'size/m'
|
||||
m_max_size: 150
|
||||
l_label: 'size/l'
|
||||
l_max_size: 300
|
||||
xl_label: 'size/xl'
|
||||
message_if_xl: >
|
||||
This PR exceeds the recommended size of 300 lines (counting both additions & deletions).
|
||||
Kindly ensure that you are NOT addressing multiple issues in one PR.
|
||||
We recommend you to create atomic PRs which focus on a single change.
|
Loading…
Add table
Add a link
Reference in a new issue