Skip to content

Commit

Permalink
linked with GH
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa committed Jan 28, 2025
1 parent 9ce3943 commit af2aa02
Show file tree
Hide file tree
Showing 5 changed files with 786 additions and 0 deletions.
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

0 comments on commit af2aa02

Please sign in to comment.