[office] Add 2019 for Mac, 2016 for Mac, 2004 for Mac, 2003, XP, Update releaseDate to RTM date #9207
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dependabot auto-merge release-updates | |
on: pull_request | |
# Based on https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
dependabot: | |
runs-on: ubuntu-latest | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
steps: | |
- id: metadata | |
name: Dependabot metadata | |
uses: dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7 # v2.3.0 | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Clone self repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
ref: ${{ github.head_ref }} | |
submodules: true | |
- name: Set up Python | |
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5 | |
with: | |
python-version: '3.11' | |
- name: Install Python Dependencies | |
run: pip install -r '_data/release-data/requirements.txt' | |
- id: latest | |
name: Auto-update products | |
run: python '_data/release-data/latest.py' -p 'products/' -d '_data/release-data/releases' | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5 | |
with: | |
file_pattern: products/* | |
commit_message: "🤖: Update latest release data" | |
status_options: '--untracked-files=no' | |
commit_author: 'github-actions[bot] <github-actions[bot]@users.noreply.github.com>' | |
- name: Create PR | |
if: ${{ contains(steps.metadata.outputs.dependency-names, '_data/release-data') }} | |
run: gh pr merge --auto --rebase "$PR_URL" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- name: Comment on PR about missing releases | |
uses: github-actions-up-and-running/pr-comment@f1f8ab2bf00dce6880a369ce08758a60c61d6c0b # v1.0.1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
message: | | |
:warning: The following recent releases are not listed: | |
``` | |
${{ steps.latest.outputs.warning }} | |
``` |