File tree Expand file tree Collapse file tree 4 files changed +49
-1
lines changed Expand file tree Collapse file tree 4 files changed +49
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Issue assignment
2
+
3
+ on :
4
+ issues :
5
+ types : [opened]
6
+
7
+ jobs :
8
+ auto-assign :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : ' Auto-assign issue'
12
+
13
+ with :
14
+ assignees : thepetk,Solvik
15
+ numOfAssignee : 1
Original file line number Diff line number Diff line change
1
+ name : QA
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v3
14
+
15
+ - name : Set up Python 3.9
16
+ uses : actions/setup-python@v2
17
+ with :
18
+ python-version : " 3.9"
19
+
20
+ - name : Install dependencies
21
+ run : |
22
+ python -m pip install --upgrade pip
23
+ pip install -r dev-requirements.txt
24
+
25
+ - name : Run qa
26
+ run : make qa
27
+
28
+ - name : Run mypy
29
+ run : make mypy
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ WORKDIR /usr/src/app
5
5
COPY requirements.txt requirements.txt
6
6
RUN pip3 install -r requirements.txt
7
7
8
+ RUN groupadd --gid 1000 appuser \
9
+ && useradd --uid 1000 --gid appuser --shell /bin/bash --create-home appuser
10
+
11
+ USER appuser
8
12
COPY gitlab2sentry/ gitlab2sentry/
9
13
COPY run.py run.py
10
14
COPY g2s.yaml g2s.yaml
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ You can install all requirements for this project with
21
21
```
22
22
python3 -m venv venv
23
23
pip3 install -r requirements.txt
24
- source venv/bin/ac
24
+ source venv/bin/activate
25
25
```
26
26
27
27
After the installation of all requirements you have to:
You can’t perform that action at this time.
0 commit comments