Skip to content

chore(deps): update dependency slackware_15_0/mozilla-thunderbird to … #51

chore(deps): update dependency slackware_15_0/mozilla-thunderbird to …

chore(deps): update dependency slackware_15_0/mozilla-thunderbird to … #51

---
name: "Update locale slackbuilds - 15.0"
on:
push:
branches:
- "15.0"
workflow_dispatch:
concurrency: locale-pr-generator
jobs:
changes:
runs-on: ubuntu-24.04
permissions:
contents: read
outputs:
locales: ${{ steps.filter.outputs.locales }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
filters: |
locales:
- '.github/scripts/genlocaleslackbuilds'
update-locale-slackbuilds:
timeout-minutes: 10
name: Update locale slackbuilds.
runs-on: ubuntu-24.04
permissions:
contents: write
pull-requests: write
needs: [changes]
if: ${{ needs.changes.outputs.locales == 'true' || github.event_name == 'workflow_dispatch' }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
- name: Set environment variables
run: |
grep ^..VERSION= .github/scripts/genlocaleslackbuilds >> "$GITHUB_ENV"
- name: Install dependencies
run: |
sudo apt-get install lftp
- name: Generate updates
run: |
./.github/scripts/genlocaleslackbuilds network
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add network/mozilla-firefox-* || true
git commit -m 'network/mozilla-firefox-l10n-*: Updated for version ${{ env.FFVERSION }}.' || true
git add network/mozilla-thunderbird-* || true
git commit -m 'network/mozilla-thunderbird-l10n-*: Updated for version ${{ env.TBVERSION }}.' || true
git add network/seamonkey-* || true
git commit -m 'network/seamonkey-l10n-*: Updated for version ${{ env.SMVERSION }}.' || true
- name: Create Pull Request
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: "[auto] Update locale slackbuilds based on latest ChangeLog.txt."
branch: autoupdate-locale-slackbuilds
body: |
Locale updates:
- Firefox: ${{ env.FFVERSION }}
- Thunderbird: ${{ env.TBVERSION }}
- Seamonkey: ${{ env.SMVERSION }}