Skip to content

Commit

Permalink
ci_ bandit
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico committed Jul 10, 2024
1 parent 9510635 commit d177c6a
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Security check - Bandit

on: push

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Security check - Bandit
uses: ioggstream/[email protected]
with:
project_path: src
# ignore_failure: true

# This is optional
#- name: Security check report artifacts
# uses: actions/upload-artifact@v4
# with:
# name: Security report
# path: output/security_report.txt

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ reports/
!.gitkeep
!.travis.yml
!src/redturtle
!src/.bandit
.Python
src/redturtle/prenotazioni/locales/__pycache__/
wget-log*
4 changes: 4 additions & 0 deletions src/.bandit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[bandit]
exclude = tests,locales
# token in vocabularies
skips = B106
23 changes: 23 additions & 0 deletions src/redturtle/prenotazioni/locales/en/LC_MESSAGES/plone.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2023-09-05 08:08+0000\n"
"PO-Revision-Date: 2014-05-27 17:36+0200\n"
"Last-Translator: Alessandro Pisa <[email protected]>\n"
"Language-Team: American English <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0\n"
"Language-Code: en\n"
"Language-Name: English\n"
"Preferred-Encodings: utf-8 latin1\n"
"Domain: plone\n"
"Language: en_US\n"
"X-Generator: Lokalize 1.5\n"

msgid "Can Manage Bookings"
msgstr "Can Manage Bookings"

msgid "confirmed"
msgstr "Confirmed"

0 comments on commit d177c6a

Please sign in to comment.