Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/release-notification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release Notification

on:
release:
types: [published]

jobs:
notify:
runs-on: ubuntu-latest
if: ${{ secrets.SLACK_WEBHOOK_URL != '' }}
steps:
- name: Build Slack message
id: message
env:
TAG: ${{ github.event.release.tag_name }}
RELEASE_NAME: ${{ github.event.release.name }}
URL: ${{ github.event.release.html_url }}
run: |
echo "text=🚀 *Visitran ${TAG}* released! ${RELEASE_NAME} <${URL}|View Release Notes>" >> "$GITHUB_OUTPUT"

- name: Post to Slack
uses: slackapi/slack-github-action@v2.1.0
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: incoming-webhook
payload: |
{
"text": "${{ steps.message.outputs.text }}"
}
39 changes: 39 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Stale Issues and PRs

on:
schedule:
- cron: "0 0 * * *" # Daily midnight UTC
workflow_dispatch:

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: >
This issue has been automatically marked as stale due to
inactivity. It will be closed in 7 days if no further
activity occurs. If this issue is still relevant, please
comment to keep it open.
stale-pr-message: >
This pull request has been automatically marked as stale
due to inactivity. It will be closed in 7 days if no
further activity occurs.
close-issue-message: >
This issue was closed because it has been inactive for
too long. Feel free to reopen if it is still relevant.
close-pr-message: >
This pull request was closed because it has been inactive
for too long. Feel free to reopen if it is still relevant.
stale-issue-label: "stale"
stale-pr-label: "stale"
days-before-stale: 60
days-before-close: 7
exempt-issue-labels: "pinned,security,bug"
exempt-pr-labels: "pinned,security,bug"
exempt-all-milestones: true
Loading