ci: update global workflows (#1730)
This commit is contained in:
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@@ -103,7 +103,7 @@ jobs:
|
|||||||
uses: easimon/maximize-build-space@v8
|
uses: easimon/maximize-build-space@v8
|
||||||
with:
|
with:
|
||||||
root-reserve-mb: 20480
|
root-reserve-mb: 20480
|
||||||
remove-dotnet: 'true'
|
remove-dotnet: ${{ (matrix.language == 'csharp' && 'false') || 'true' }}
|
||||||
remove-android: 'true'
|
remove-android: 'true'
|
||||||
remove-haskell: 'true'
|
remove-haskell: 'true'
|
||||||
remove-codeql: 'false'
|
remove-codeql: 'false'
|
||||||
|
|||||||
4
.github/workflows/issues-stale.yml
vendored
4
.github/workflows/issues-stale.yml
vendored
@@ -31,12 +31,12 @@ jobs:
|
|||||||
exempt-pr-labels: 'dependencies,l10n'
|
exempt-pr-labels: 'dependencies,l10n'
|
||||||
stale-issue-label: 'stale'
|
stale-issue-label: 'stale'
|
||||||
stale-issue-message: >
|
stale-issue-message: >
|
||||||
:wave: @{issue-author}, It seems this issue hasn't had any activity in the past 90 days.
|
It seems this issue hasn't had any activity in the past 90 days.
|
||||||
If it's still something you'd like addressed, please let us know by leaving a comment.
|
If it's still something you'd like addressed, please let us know by leaving a comment.
|
||||||
Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!
|
Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!
|
||||||
stale-pr-label: 'stale'
|
stale-pr-label: 'stale'
|
||||||
stale-pr-message: >
|
stale-pr-message: >
|
||||||
:wave: @{issue-author}, It looks like this PR has been idle for 90 days.
|
It looks like this PR has been idle for 90 days.
|
||||||
If it's still something you're working on or would like to pursue,
|
If it's still something you're working on or would like to pursue,
|
||||||
please leave a comment or update your branch.
|
please leave a comment or update your branch.
|
||||||
Otherwise, we'll be closing this PR in 10 days to reduce our backlog. Thanks!
|
Otherwise, we'll be closing this PR in 10 days to reduce our backlog. Thanks!
|
||||||
|
|||||||
45
.github/workflows/release-notifier.yml
vendored
45
.github/workflows/release-notifier.yml
vendored
@@ -14,11 +14,14 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
discord:
|
discord:
|
||||||
if: startsWith(github.repository, 'LizardByte/')
|
if: >-
|
||||||
|
(github.repository, 'LizardByte/') and
|
||||||
|
not(github.event.release.prerelease) and
|
||||||
|
not(github.event.release.draft)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: discord
|
- name: discord
|
||||||
uses: sarisia/actions-status-discord@v1 # https://github.com/sarisia/actions-status-discord
|
uses: sarisia/actions-status-discord@v1
|
||||||
with:
|
with:
|
||||||
webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
|
webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
|
||||||
nodetail: true
|
nodetail: true
|
||||||
@@ -30,11 +33,14 @@ jobs:
|
|||||||
color: 0xFF4500
|
color: 0xFF4500
|
||||||
|
|
||||||
facebook_group:
|
facebook_group:
|
||||||
if: startsWith(github.repository, 'LizardByte/')
|
if: >-
|
||||||
|
(github.repository, 'LizardByte/') and
|
||||||
|
not(github.event.release.prerelease) and
|
||||||
|
not(github.event.release.draft)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: facebook-post-action
|
- name: facebook-post-action
|
||||||
uses: ReenigneArcher/facebook-post-action@v1 # https://github.com/ReenigneArcher/facebook-post-action
|
uses: ReenigneArcher/facebook-post-action@v1
|
||||||
with:
|
with:
|
||||||
page_id: ${{ secrets.FACEBOOK_GROUP_ID }}
|
page_id: ${{ secrets.FACEBOOK_GROUP_ID }}
|
||||||
access_token: ${{ secrets.FACEBOOK_ACCESS_TOKEN }}
|
access_token: ${{ secrets.FACEBOOK_ACCESS_TOKEN }}
|
||||||
@@ -44,11 +50,14 @@ jobs:
|
|||||||
url: ${{ github.event.release.html_url }}
|
url: ${{ github.event.release.html_url }}
|
||||||
|
|
||||||
facebook_page:
|
facebook_page:
|
||||||
if: startsWith(github.repository, 'LizardByte/')
|
if: >-
|
||||||
|
(github.repository, 'LizardByte/') and
|
||||||
|
not(github.event.release.prerelease) and
|
||||||
|
not(github.event.release.draft)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: facebook-post-action
|
- name: facebook-post-action
|
||||||
uses: ReenigneArcher/facebook-post-action@v1 # https://github.com/ReenigneArcher/facebook-post-action
|
uses: ReenigneArcher/facebook-post-action@v1
|
||||||
with:
|
with:
|
||||||
page_id: ${{ secrets.FACEBOOK_PAGE_ID }}
|
page_id: ${{ secrets.FACEBOOK_PAGE_ID }}
|
||||||
access_token: ${{ secrets.FACEBOOK_ACCESS_TOKEN }}
|
access_token: ${{ secrets.FACEBOOK_ACCESS_TOKEN }}
|
||||||
@@ -58,11 +67,14 @@ jobs:
|
|||||||
url: ${{ github.event.release.html_url }}
|
url: ${{ github.event.release.html_url }}
|
||||||
|
|
||||||
reddit:
|
reddit:
|
||||||
if: startsWith(github.repository, 'LizardByte/')
|
if: >-
|
||||||
|
(github.repository, 'LizardByte/') and
|
||||||
|
not(github.event.release.prerelease) and
|
||||||
|
not(github.event.release.draft)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: reddit
|
- name: reddit
|
||||||
uses: bluwy/release-for-reddit-action@v2 # https://github.com/bluwy/release-for-reddit-action
|
uses: bluwy/release-for-reddit-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.REDDIT_USERNAME }}
|
username: ${{ secrets.REDDIT_USERNAME }}
|
||||||
password: ${{ secrets.REDDIT_PASSWORD }}
|
password: ${{ secrets.REDDIT_PASSWORD }}
|
||||||
@@ -75,14 +87,17 @@ jobs:
|
|||||||
comment: ${{ github.event.release.body }}
|
comment: ${{ github.event.release.body }}
|
||||||
|
|
||||||
twitter:
|
twitter:
|
||||||
if: startsWith(github.repository, 'LizardByte/')
|
if: >-
|
||||||
|
(github.repository, 'LizardByte/') and
|
||||||
|
not(github.event.release.prerelease) and
|
||||||
|
not(github.event.release.draft)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: twitter
|
- name: twitter
|
||||||
uses: ethomson/send-tweet-action@v1 # https://github.com/ethomson/send-tweet-action
|
uses: nearform-actions/github-action-notify-twitter@v1
|
||||||
with:
|
with:
|
||||||
consumer-key: ${{ secrets.TWITTER_API_KEY }}
|
message: ${{ github.event.release.html_url }}
|
||||||
consumer-secret: ${{ secrets.TWITTER_API_SECRET }}
|
twitter-app-key: ${{ secrets.TWITTER_API_KEY }}
|
||||||
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
|
twitter-app-secret: ${{ secrets.TWITTER_API_SECRET }}
|
||||||
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
|
twitter-access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
|
||||||
status: ${{ github.event.release.html_url }}
|
twitter-access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
|
||||||
|
|||||||
Reference in New Issue
Block a user