diff --git a/.github/workflows/keep_alive.yaml b/.github/workflows/keep_alive.yaml index 5fd249b..55d1a61 100644 --- a/.github/workflows/keep_alive.yaml +++ b/.github/workflows/keep_alive.yaml @@ -8,6 +8,6 @@ jobs: name: Cronjob based github action runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # commits to the repo if the last commit was 50 days ago to keep the repo alive. - uses: gautamkrishnar/keepalive-workflow@v1 diff --git a/.github/workflows/refresh_course_plans.yml b/.github/workflows/refresh_course_plans.yml index c929fd3..6e75f67 100644 --- a/.github/workflows/refresh_course_plans.yml +++ b/.github/workflows/refresh_course_plans.yml @@ -14,11 +14,11 @@ jobs: steps: # Clones the repo - name: Checkout Repo Content - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Clones the data repo - name: Clone Data Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: itu-helper/data token: ${{ secrets.API_TOKEN_GITHUB }} diff --git a/.github/workflows/refresh_courses.yml b/.github/workflows/refresh_courses.yml index a3535f7..84a75bc 100644 --- a/.github/workflows/refresh_courses.yml +++ b/.github/workflows/refresh_courses.yml @@ -14,11 +14,11 @@ jobs: steps: # Clones the repo - name: Checkout Repo Content - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Clones the data repo - name: Clone Data Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: itu-helper/data token: ${{ secrets.API_TOKEN_GITHUB }} diff --git a/.github/workflows/refresh_lessons.yml b/.github/workflows/refresh_lessons.yml index 05f30b5..c381a79 100644 --- a/.github/workflows/refresh_lessons.yml +++ b/.github/workflows/refresh_lessons.yml @@ -2,23 +2,24 @@ name: Refresh Lessons on: schedule: - # At every 15th minute from 4 through 59 past every hour from 2 through 23. - - cron: "4/15 2/1 * * *" + # At every 5th minute from 4 through 59 past every hour from 2 through 23. + - cron: "4/5 2/1 * * *" workflow_dispatch: jobs: refresh_lessons: runs-on: ubuntu-latest + timeout-minutes: 5 steps: # Clones the repo - name: Checkout Repo Content - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Clones the data repo - name: Clone Data Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: itu-helper/data token: ${{ secrets.API_TOKEN_GITHUB }} diff --git a/.github/workflows/refresh_misc.yml b/.github/workflows/refresh_misc.yml index 55ee0fb..899b1c1 100644 --- a/.github/workflows/refresh_misc.yml +++ b/.github/workflows/refresh_misc.yml @@ -14,11 +14,11 @@ jobs: steps: # Clones the repo - name: Checkout Repo Content - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Clones the data repo - name: Clone Data Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: itu-helper/data token: ${{ secrets.API_TOKEN_GITHUB }} diff --git a/README.md b/README.md index dd19347..7d75a64 100644 --- a/README.md +++ b/README.md @@ -38,12 +38,12 @@ _Github Actions_ kullanarak **Veri Yenileme Aralıkları** kısmında belirtilen ## **Veri Yenileme Aralıkları** -- **(00:04 - 02:49) 15dk da bir**: _Lesson_'lar güncellenir. +- **(00:04 - 02:49) 5 dk'de bir**: _Lesson_'lar güncellenir. - **(02:55)**: Bina ve program kodları güncellenir. - **(03:00)**: - **Pazartesileri**: _Course_'lar güncellenir. - **Salıları**: Ders Planları güncellenir. -- **(05:04 - 23:49) 15dk da bir**: _Lesson_'lar güncellenir. +- **(05:04 - 23:49) 5 dk'de bir**: _Lesson_'lar güncellenir. > [!NOTE] > _Lesson_'ların daha sık güncellenmesinin nedeni kontenjan verilerinin güncel tutulmasının gerekmesidir. _Course_'ların ve Ders Planlarının güncellendiği sırada _Lesson_'ların güncellenememsi _Github Actions_'da kullandığımız _Git Auto Commit_'in repo'da değişiklik olması durumda commit atamamasındandır.