Skip to content
Open
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
13 changes: 9 additions & 4 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,24 @@ env:
GITHUB_BASE_URL: https://api.github.com

jobs:
unit:
msync:
runs-on: ubuntu-latest
name: Run msync against all modules
if: github.repository_owner == 'voxpupuli'
if: ${{ github.repository_owner == 'voxpupuli' }}
steps:
- name: checkout code
# the action has a ssh-key option.
# when provided, it configures the ssh/git config to authenticate automatically with that key to the source repo
# the authentication won't be used for other repos (which we need for msync), so we cannot use the option
# that's the reason for the 'Add SSH key' step
#
# the "ref: github.ref" is required for the tag to be properly checked out, as a workaround
# for https://github.com/actions/checkout/issues/1638
uses: actions/checkout@v5
with:
fetch-depth: 0
fetch-tags: true
ref: ${{ github.ref }}
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -46,8 +51,8 @@ jobs:
ssh-add ~/.ssh/github_actions
- name: set git user & email & commit signing
run: |
git config --global user.email '12855858+pccibot@users.noreply.github.com'
git config --global user.name 'pccibot'
git config --global user.email "$GIT_AUTHOR_EMAIL"
git config --global user.name "$GIT_AUTHOR_NAME"
git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/github_actions
git config --global commit.gpgsign true
Expand Down