Skip to content

Search ossbymaif on social networks #16568

Search ossbymaif on social networks

Search ossbymaif on social networks #16568

Workflow file for this run

name: Search ossbymaif on social networks
on:
workflow_dispatch:
push:
paths:
- "scripts/**"
branches:
- master
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-node@v3
with:
node-version: "16"
- name: install dependencies
run: cd scripts; npm ci
- name: Search contributors on github
id: github
run: node ./scripts/contributors.js
env:
GITHUB_TOKEN: ${{ secrets.FIFI_TOKEN }}
- name: Load last releases highlights
id: releases
run: node ./scripts/releases.js
env:
GITHUB_TOKEN: ${{ secrets.FIFI_TOKEN }}
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "ossbymaif-github-actions"
git add --all
if [ -n "$(git status --porcelain)" ]; then
git commit -am "Update social network data"
fi
- name: Push documentation
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}