diff --git a/.github/workflows/update-by-lang.yml b/.github/workflows/update-by-lang.yml index 207f6d5..214a4d2 100644 --- a/.github/workflows/update-by-lang.yml +++ b/.github/workflows/update-by-lang.yml @@ -5,14 +5,14 @@ on: schedule: - cron: 0/30 * * * * workflow_dispatch: +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REPOSITORY: ${{ env.REPOSITORY_NAME }} + USERNAME: ${{ github.repository_owner }} jobs: update-by-language: name: ๐ŸŒŸ Update stars and clean old runs runs-on: ubuntu-latest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - REPOSITORY: ${{ env.REPOSITORY_NAME }} - USERNAME: ${{ github.repository_owner }} steps: - name: ๐Ÿงน Delete old workflow runs run: |