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

Fix MODULE_NOT_FOUND #5

Merged
merged 2 commits into from
Apr 17, 2023
Merged
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
26 changes: 26 additions & 0 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

name: test main integration
# This workflow validates the merged code functions exactly as an invoking workflow might use it.
# Due to the requiremnet that `uses` be a hard-coded value, we can only validate explicit git refs.
# In this case, we validate once a PR has been merged, main branch functions correctly

on:
pull_request:
types: [closed]

permissions:
contents: read

jobs:
main-merge:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- uses: hashicorp/action-slack-status@main
with:
success-message: "Merge successfull"
status: ${{job.status
slack-webhook-url: ${{secrets.slack_webhook_url_feed_releng_test}}

2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ runs:
with:
# github-token: uncomment-this-line-for-local-act-testing
script: |
return require('./main.js')({context, core})
return require(process.env.GITHUB_ACTION_PATH + '/main.js')({context, core})
- name: Send Status
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
env:
Expand Down