Skip to content

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 #434

build(deps): bump cross-spawn from 7.0.3 to 7.0.6

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 #434

Workflow file for this run

name: "integration tests"
on:
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- master
env:
# Variables defined in the repository
SENTRY_ORG: ${{ vars.SENTRY_ORG }}
# For master we have an environment variable that selects the action-release project
# instead of action-release-prs
# For other branches: https://sentry-ecosystem.sentry.io/releases/?project=4505075304693760
# For master branch: https://sentry-ecosystem.sentry.io/releases/?project=6576594
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
jobs:
# You're welcome to make changes on this job as part of your PR in order to test out your changes
# We can always undo the changes once we're satisfied with the results
#
# Secrets on this repo do not get shared with PRs opened on a fork, thus,
# add SENTRY_AUTH_TOKEN as a secret to your fork if you want to use this job.
# Checkout the README.md on how to create the internal integration (read: auth token)
create-real-release-per-push:
name: "Test current action"
runs-on: ubuntu-latest
# XXX: This job will fail for forks, skip step on forks and let contributors tweak it when ready
if: github.ref != 'refs/heads/master'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# For PRs, this supports creating a release using the commits from the branch (rather than the merge commit)
ref: ${{ github.event.pull_request.head.sha || github.sha }}
# This allows executing the action's code in the next step rather than a specific tag
- uses: './.github/actions/use-local-dockerfile'
- name: Create a staging release
uses: ./
env:
# If you want this step to be mocked you can uncomment this variable
# MOCK: true
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_LOG_LEVEL: debug
with:
ignore_missing: true
mock-release: # Make sure that the action works on a clean machine without building Docker
name: "Build image & mock a release"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: './.github/actions/use-local-dockerfile'
- name: Mock creating a Sentry release
uses: ./
env:
MOCK: true
with:
environment: production
mock-release-working-directory:
name: "Build image & mock a release in a different working directory"
runs-on: ubuntu-latest
steps:
- name: Checkout directory we'll be running from
uses: actions/checkout@v3
with:
path: main/
- name: Checkout directory we'll be testing
uses: actions/checkout@v3
with:
path: test/
- uses: './main/.github/actions/use-local-dockerfile'
with:
working_directory: main
- name: Mock creating a Sentry release in a different directory
uses: ./main
env:
MOCK: true
with:
environment: production
working_directory: ./test