Skip to content

Commit

Permalink
chore(ci): extract contributors readme action to separate workflow (u…
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Jan 12, 2024
1 parent 3a8cdfa commit 8087fcd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: Make
runs-on: ubuntu-22.04
permissions:
contents: write
contents: read
packages: write
id-token: write
strategy:
Expand All @@ -40,8 +40,7 @@ jobs:
is_stable_version: true
is_gts_version: false
steps:
# Checkout push-to-registry action GitHub repository
- name: Checkout Push to Registry action
- name: Checkout
uses: actions/checkout@v4

- name: Verify base image
Expand Down Expand Up @@ -214,11 +213,7 @@ jobs:
- name: Echo outputs
if: github.event_name != 'pull_request'
run: |
echo "${{ toJSON(steps.push.outputs) }}"
- uses: akhilmhdh/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
echo "${{ toJSON(steps.push.outputs) }}"
check:
name: Check all builds successful
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Update Contributors

on:
schedule:
- cron: '0 0 * * *' # Every day at midnight
push:
branches:
- main

jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: akhilmhdh/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8087fcd

Please sign in to comment.