Skip to content

Commit

Permalink
adding labeled action to reindex
Browse files Browse the repository at this point in the history
  • Loading branch information
maoo committed May 8, 2020
1 parent 8ef8203 commit 73615ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/meetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
run: git clone https://finos-admin:[email protected]/finos-admin/metadata.git >/dev/null
- name: Downloading github-finos-meetings.csv
run: curl -s https://raw.githubusercontent.com/finos/open-developer-platform/master/scripts/checkout-meeting-attendance.sh | bash
- name: Checkout metadata dependencies
run: cd metadata-tool ; lein deps
- name: Generating a new github-finos-meetings.csv
run: curl -s https://raw.githubusercontent.com/finos/open-developer-platform/master/scripts/generate-meeting-attendance.sh | bash
- name: Pushing github-finos-meetings.csv changes to Git
Expand Down
2 changes: 1 addition & 1 deletion scripts/submit-meeting-attendance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ diff ../${GIT_CSV_REPO}-checkout/github-finos-meetings.csv github-finos-meetings
cp -f ../${GIT_CSV_REPO}-checkout/github-finos-meetings.csv github-finos-meetings.csv
echo "end of new entries ===="

if [ "$ACTION" == "closed" ]; then
if [ "$ACTION" == "closed" ] || [ "$ACTION" == "labeled" ]; then
cat ../metadata-tool/github-finos-meetings-add.csv >> github-finos-meetings.csv
elif [ "$ACTION" == "unlabeled" ]; then
cp -f ../metadata-tool/github-finos-meetings-remove.csv github-finos-meetings.csv
Expand Down

0 comments on commit 73615ea

Please sign in to comment.