Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug approve action #10935

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
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
167 changes: 0 additions & 167 deletions .github/workflows/appstore-build-publish.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/command-rebase.yml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/workflows/debugging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# 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: debugging

on: pull_request

jobs:
debugging:
runs-on: ubuntu-latest

steps:
- uses: mdecoleman/[email protected]
id: branchname
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Test contains(steps.branchname.outputs.branch, '/webrtc-adapter-') != true
if: contains(steps.branchname.outputs.branch, '/webrtc-adapter-') != true
continue-on-error: true
run: echo '"/webrtc-adapter-"'

- name: Test contains(steps.branchname.outputs.branch, '/nextcloud/vue-') != true
if: contains(steps.branchname.outputs.branch, '/nextcloud/vue-') != true
continue-on-error: true
run: echo '"/nextcloud/vue-"'


- run: echo ${{ steps.vars.outputs.branch }}
- name: Test ${{ github.ref }}
continue-on-error: true
run: echo '${{ github.ref }}'
- name: Test ${{ github.event.pull_request }}
continue-on-error: true
run: echo '${{ github.ref_name }}'
- name: Test contains('/nextcloud/vue-', github.ref)
continue-on-error: true
run: echo contains('/nextcloud/vue-', github.ref)
- name: Test contains('/webrtc-adapter-', github.ref)
continue-on-error: true
run: echo contains('/webrtc-adapter-', github.ref)
- name: Test contains(fromJSON('["/nextcloud/vue-", "/webrtc-adapter-"]'), github.ref)
continue-on-error: true
run: echo contains(fromJSON('["/nextcloud/vue-", "/webrtc-adapter-"]'), github.ref)

- name: JS
continue-on-error: true
uses: actions/github-script@v5
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
console.log(github.ref)
console.log(contains('/nextcloud/vue-', github.ref))
console.log(contains('/webrtc-adapter-', github.ref))
console.log(contains(fromJSON('["/nextcloud/vue-", "/webrtc-adapter-"]'), github.ref))
42 changes: 0 additions & 42 deletions .github/workflows/dependabot-approve-merge.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/fixup.yml

This file was deleted.

Loading
Loading