Skip to content

Commit

Permalink
updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
zakagan committed Dec 7, 2020
1 parent de4f003 commit cd1535b
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/reapsaw-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Reapsaw Scan
on:
push:
branches: [master]
workflow_dispatch:
branches: [master]

jobs:
scan:
runs-on: ubuntu-latest
steps:

- name: Install python
uses: actions/setup-python@v2
with:
python-version: 3.6

- name: Get token
id: get_token
uses: machine-learning-apps/actions-app-token@master
with:
APP_ID: ${{ secrets.REAPSAW_APP_ID }}
APP_PEM: ${{ secrets.REAPSAW_APP_PEM }}

- name: Checkout Reapsaw
uses: actions/checkout@v2
with:
repository: newscorp-ghfb/cso-reapsaw2
token: ${{ steps.get_token.outputs.app_token }}

- name: Checkout
uses: actions/checkout@v2
with:
ref: master
path: target-repo

- name: Install reapsaw client
run: python setup.py install

- name: Create service account file
run: |
mkdir $HOME/secrets
echo "$SA_SECRET"| base64 --decode > $HOME/secrets/sa_keyfile.json
env:
SA_SECRET: ${{ secrets.REAPSAW_SA_SECRET }}

- name: Run Reapsaw scan
run: |
export SA_KEYFILE=$HOME/secrets/sa_keyfile.json
reapsaw scan $PROJECT_ID ${GITHUB_WORKSPACE}/target-repo $LANGUAGE --repo https://github.com/${GITHUB_REPOSITORY} --branch master
env:
PROJECT_ID: ${{ secrets.REAPSAW_PROJECT_ID }}
REAPSAW_BASE_URL: ${{ secrets.REAPSAW_BASE_URL }}
LANGUAGE: python
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,13 @@ the subscription *and* consuming it. Instead they will just consume an already e
2.0.0 / 2020-05-11
==================
- [changed] phased out Python 2.7 support in preparation for PyPi publication
- [changed] messages from the listener are parsed and returned, instead of requiring the user to access the JSON
- [docs] - Minor improvements.

2.0.1 / 2020-11-03
==================
- [changed] Updated dependencies and required versions of pubsub

2.0.2 / 2020-12-03
==================
- [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 comments on commit cd1535b

Please sign in to comment.