Skip to content

Commit

Permalink
stop workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
qdsang committed Feb 26, 2024
1 parent 45d660f commit cca249d
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/schedules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: update awesome-stars
on:
workflow_dispatch:
schedule:
- cron: 30 0 * * *
- cron: 60 0 * * *
jobs:
awesome-stars:
name: update awesome-stars
Expand All @@ -12,22 +12,4 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install starred
- name: get repository name
run: echo "REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
- name: update repo category by language
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{ env.REPOSITORY_NAME }}
USERNAME: ${{ github.repository_owner }}
run: starred --username ${USERNAME} --repository ${REPOSITORY} --sort --token ${GITHUB_TOKEN} --message 'awesome-stars category by language update by github actions cron, created by starred'
- name: update repo category by topic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{ env.REPOSITORY_NAME }}
USERNAME: ${{ github.repository_owner }}
run: starred --username ${USERNAME} --repository ${REPOSITORY} --sort --token ${GITHUB_TOKEN} --message 'awesome-stars category by topic update by github actions cron, created by starred' --topic --topic_limit 500 --filename topics.md
python-version: '3.10'

0 comments on commit cca249d

Please sign in to comment.