Skip to content

Commit cd1535b

Browse files
committed
updated changelog
1 parent de4f003 commit cd1535b

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed

.github/workflows/reapsaw-scan.yaml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Reapsaw Scan
2+
on:
3+
push:
4+
branches: [master]
5+
workflow_dispatch:
6+
branches: [master]
7+
8+
jobs:
9+
scan:
10+
runs-on: ubuntu-latest
11+
steps:
12+
13+
- name: Install python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: 3.6
17+
18+
- name: Get token
19+
id: get_token
20+
uses: machine-learning-apps/actions-app-token@master
21+
with:
22+
APP_ID: ${{ secrets.REAPSAW_APP_ID }}
23+
APP_PEM: ${{ secrets.REAPSAW_APP_PEM }}
24+
25+
- name: Checkout Reapsaw
26+
uses: actions/checkout@v2
27+
with:
28+
repository: newscorp-ghfb/cso-reapsaw2
29+
token: ${{ steps.get_token.outputs.app_token }}
30+
31+
- name: Checkout
32+
uses: actions/checkout@v2
33+
with:
34+
ref: master
35+
path: target-repo
36+
37+
- name: Install reapsaw client
38+
run: python setup.py install
39+
40+
- name: Create service account file
41+
run: |
42+
mkdir $HOME/secrets
43+
echo "$SA_SECRET"| base64 --decode > $HOME/secrets/sa_keyfile.json
44+
env:
45+
SA_SECRET: ${{ secrets.REAPSAW_SA_SECRET }}
46+
47+
- name: Run Reapsaw scan
48+
run: |
49+
export SA_KEYFILE=$HOME/secrets/sa_keyfile.json
50+
reapsaw scan $PROJECT_ID ${GITHUB_WORKSPACE}/target-repo $LANGUAGE --repo https://github.com/${GITHUB_REPOSITORY} --branch master
51+
env:
52+
PROJECT_ID: ${{ secrets.REAPSAW_PROJECT_ID }}
53+
REAPSAW_BASE_URL: ${{ secrets.REAPSAW_BASE_URL }}
54+
LANGUAGE: python

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,13 @@ the subscription *and* consuming it. Instead they will just consume an already e
9393
2.0.0 / 2020-05-11
9494
==================
9595
- [changed] phased out Python 2.7 support in preparation for PyPi publication
96+
- [changed] messages from the listener are parsed and returned, instead of requiring the user to access the JSON
9697
- [docs] - Minor improvements.
9798

99+
2.0.1 / 2020-11-03
100+
==================
101+
- [changed] Updated dependencies and required versions of pubsub
102+
103+
2.0.2 / 2020-12-03
104+
==================
105+
- [changed] - Removed references to depreciated Extraction API service, now you may manually specify your API host by exporting API_HOST instead of EXTRACTION_API_HOST

0 commit comments

Comments
 (0)