Skip to content

[library] Make Option.orNull public in binary (#26751) #2945

[library] Make Option.orNull public in binary (#26751)

[library] Make Option.orNull public in binary (#26751) #2945

Workflow file for this run

name: Add to backporting project
on:
push:
branches:
- main
# The backporting project is updated via the API with a GitHub App token, the
# workflow GITHUB_TOKEN is only used to check out the repository.
permissions:
contents: read
jobs:
add-to-backporting-project:
if: "!contains(github.event.push.head_commit.message, '[Next only]') &&
github.repository == 'scala/scala3'"
runs-on: ubuntu-latest
steps:
- name: Generate GitHub App Token
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
app-id: ${{ secrets.SCALA_APP_ID }}
private-key: ${{ secrets.SCALA_APP_PRIVATE_KEY }}
owner: scala
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1
- uses: VirtusLab/scala-cli-setup@8db5313925605c20e292348c1749e80dac7eed0f # v1.16.0
- run: scala-cli ./project/scripts/addToBackportingProject.scala -- ${{ github.sha }}
env:
GRAPHQL_API_TOKEN: ${{ steps.app-token.outputs.token }}