Skip to content

Commit

Permalink
clean the code
Browse files Browse the repository at this point in the history
  • Loading branch information
binni979 committed Jul 9, 2024
1 parent 27dfc04 commit 2a37d56
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/banner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# - name: GitHub Issue to JSON
# uses: actions/github-script@v6
# with:
- name: GitHub Issue to JSON
uses: actions/github-script@v6
with:
# script: |
# const fs = require('fs');
# const issue = context.payload.issue;
Expand All @@ -36,9 +36,8 @@ jobs:
# fs.writeFileSync('_data/issue.json', jsonContent);
# console.log('Issue converted to JSON and written to _data/issue.json');
# console.log('Content:', jsonContent);
#
# - name: List _data directory
# run: ls -l _data
issue-template: "ISSUE_TEMPLATE/banner.yaml"
hash-property-name: "URL"

- name: Update the existing files
run: python scripts/banner.py
Expand Down

0 comments on commit 2a37d56

Please sign in to comment.