Skip to content

Close stale issues #550

Close stale issues

Close stale issues #550

Workflow file for this run

name: "Close stale issues"
on:
schedule:
- cron: "0 9 * * *"
workflow_dispatch:
inputs:
name:
description: "Trigger usecase"
default: "testing"
jobs:
stale:
name: scrapeArticles
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.21.x"]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
# You can test your matrix by printing the current Go version
- name: go mod tidy
run: go mod tidy
- name: go build
run: go build
- name: go run
run:
go run .
# get the output file from the previous step and push it to the repo
- name: Run the Action
uses: devops-infra/action-commit-push@master
with:
github_token: "${{ secrets.TOKEN }}"
commit_prefix: "[Auto]"
commit_message: "Daily article scrape"