fix: reuse share object instead of getting it again when sending invite mail #505
Workflow file for this run
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
# This workflow is provided via the organization template repository | |
# | |
# https://github.com/nextcloud/.github | |
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization | |
name: Lint php | |
on: pull_request | |
permissions: | |
contents: read | |
concurrency: | |
group: lint-php-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
matrix: | |
runs-on: ubuntu-latest | |
outputs: | |
php-versions: ${{ steps.versions.outputs.php-versions }} | |
steps: | |
- name: Checkout app | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Get version matrix | |
id: versions | |
uses: icewind1991/nextcloud-version-matrix@111919cfc7b388b7c02cac3c5d53627137adb89f # v1.0.0 | |
php-lint: | |
runs-on: ubuntu-latest | |
needs: matrix | |
strategy: | |
matrix: | |
php-versions: ${{fromJson(needs.matrix.outputs.php-versions)}} | |
name: php-lint | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Set up php ${{ matrix.php-versions }} | |
uses: shivammathur/setup-php@81cd5ae0920b34eef300e1775313071038a53429 # v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
coverage: none | |
ini-file: development | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Lint | |
run: composer run lint | |
summary: | |
permissions: | |
contents: none | |
runs-on: ubuntu-latest | |
needs: php-lint | |
if: always() | |
name: php-lint-summary | |
steps: | |
- name: Summary status | |
run: if ${{ needs.php-lint.result != 'success' && needs.php-lint.result != 'skipped' }}; then exit 1; fi |