Saptarshi's Notes 📝
  • HOME
  • Open-Source
    • Issue Template
    • Pull Request Template
    • Greetings Action
    • Stale Action
    • Push to Pull Requests Action
    • Contributing Guide
    • Security
  • Computer Networking
    • Introduction
    • IP Address
    • Data Transmission
      • Network Topologies
      • Structure of The Network
      • Network Devices
    • How does The Internet work?
      • OSI Model
      • TCP/IP Model
        • Application Layer
          • Application Layer Network Protocols
          • Sockets
          • Ports
        • Transport Layer
        • Network Layer
        • Data Link Layer
        • Physical Layer
Powered by GitBook
On this page

Was this helpful?

  1. Open-Source

Stale Action

A scheduled GitHub Action workflow to mark stale issues and pull requests

name: Mark stale issues and pull requests

on:
  schedule:
  - cron: "0 0 * * *"

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/stale@v8
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        stale-issue-message: 'This issue is having no activity for the last 60 days. This issue has been marked as stale. It will be closed in the next 10 days if still inactive.'
        stale-pr-message: 'This pull request has no activity for the last 60 days. This pull request has been marked as stale. It will be closed in the next 10 days if still inactive.'
        stale-issue-label: 'no-issue-activity'
        stale-pr-label: 'no-pr-activity'
        days-before-close: 10
PreviousGreetings ActionNextPush to Pull Requests Action

Last updated 3 days ago

Was this helpful?