Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/repositories.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: update-repositories
on:
schedule:
# Every Monday at 01:07 UTC
- cron: "07 01 * * MON"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- uses: actions/checkout@v3
- name: Install
run: julia --project=. -e 'import Pkg; Pkg.instantiate()'
- name: Repositories
env:
PERSONAL_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia --project=. scripts/repositories.jl --update
- name: push
if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'
run: |
git config --global user.email "[email protected]"
git config --global user.name "Ivet Galabova"
git commit -am "Automatic update script."
git push
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@
*.exe
*.out
*.app

# personal access token, not commited
dev.env

.vscode
Loading