Skip to content

Commit

Permalink
Update test-outputs.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
t-will-gillis authored May 5, 2024
1 parent 4150e55 commit 2e7ea00
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/test-outputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,16 @@ jobs:
const results = script({ g: github, c: context })
return results
- name: update data json
id: update-data-json
uses: stefanzweifel/[email protected]
with:
# Glob pattern of file which should be added to the commit
file_pattern: github-actions/test-runs/data.json

# Optional commit message and author settings
commit_message: Update Data JSON


- uses: actions/upload-artifact@v4
with:
Expand All @@ -36,9 +45,9 @@ jobs:
id: save-data
uses: actions/github-script@v7
with:
github-token: ${{ secrets.HACKFORLA_ADMIN_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const results = ${{ steps.get-contributors.outputs.result }}
const results = ${{ steps.define-data.result }}
const script = require('./github-actions/trigger-schedule/list-inactive-members/trim-inactive-members.js')
script({ g: github, c: context }, results)
Expand Down

0 comments on commit 2e7ea00

Please sign in to comment.