From 466d81015b1e3901ae1ac80bb07d0548e675d91f Mon Sep 17 00:00:00 2001 From: Kakarot <57848836+GhzGarage@users.noreply.github.com> Date: Sat, 23 Sep 2023 15:35:30 -0500 Subject: [PATCH] Workflow --- .github/workflows/stale.yml | 29 +++++++++++++++++++++++++++++ client/fleeca.lua | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..c18b212 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,29 @@ +# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. +# +# You can adjust the behavior by modifying this file. +# For more information, see: +# https://github.com/actions/stale +name: Mark stale issues and pull requests + +on: + schedule: + - cron: '41 15 * * *' + +jobs: + stale: + + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + + steps: + - uses: actions/stale@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue has had 60 days of inactivity & will close within 7 days' + stale-pr-message: 'This PR has had 60 days of inactivity & will close within 7 days' + close-issue-label: 'Stale Closed' + close-pr-label: 'Stale Closed' + exempt-issue-labels: 'Suggestion' + exempt-pr-labels: 'Suggestion' diff --git a/client/fleeca.lua b/client/fleeca.lua index ce2f15c..1a7f6b4 100644 --- a/client/fleeca.lua +++ b/client/fleeca.lua @@ -382,7 +382,7 @@ RegisterNetEvent('qb-bankrobbery:client:robberyCall', function(type, coords) SetBlipScale(blip, 1.2) SetBlipFlashes(blip, true) BeginTextCommandSetBlipName('STRING') - AddTextComponentString(Lang:t("general.bank_robbery_police_call")) + AddTextComponentSubstringPlayerName(Lang:t("general.bank_robbery_police_call")) EndTextCommandSetBlipName(blip) while transG ~= 0 do Wait(180 * 4)