Skip to content

Commit

Permalink
Merge pull request #2 from libresource/dependabot
Browse files Browse the repository at this point in the history
fix Django sql injection add labeler action
  • Loading branch information
quillcraftsman authored Aug 11, 2024
2 parents abdf350 + f9b7b7d commit f3bb041
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: labeler

on: [pull_request]

jobs:
labeler:
permissions:
pull-requests: write
contents: read
issues: write
runs-on: ubuntu-latest
name: Label the PR size
steps:
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_label: 'size/xs'
xs_max_size: '10'
s_label: 'size/s'
s_max_size: '100'
m_label: 'size/m'
m_max_size: '200'
l_label: 'size/l'
l_max_size: '400'
xl_label: 'size/xl'
fail_if_xl: 'true'
message_if_xl: >
This PR exceeds the recommended size of 400 lines.
Please make sure you are NOT addressing multiple issues with one PR.
Note this PR might be rejected due to its size.
github_api_url: 'https://api.github.com'
files_to_ignore: ''
2 changes: 1 addition & 1 deletion pygenesis_django/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
Package info
"""
name = 'pygenesis-django'
version = '0.1.0'
version = '0.1.1'
status = '3 - Alpha'
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
wheel
Django==5.0.6
Django==5.1

0 comments on commit f3bb041

Please sign in to comment.